Skip to content

jiveyTO/stox-bot

Repository files navigation

STOX Discord Bot

Available Commands

  1. !quote <stock symbol|option symbol>

    Returns the current stock or options quote in the channel. Option symbol format e.g. "AAPL210115C00123500"

  2. /trade <ticker> <type> <action> <expiry> <strike> <price> <quantity>

    Book an options trade

Setup

Requirements

  • Node v12.19

Environment Variables

  1. DATABASE_URL=postgres://:@:/
  2. ENVIRONMENT=DEV|PROD
  3. DISCORD_BOT_TOKEN=
  4. IEXCLOUD_API_VERSION=stable
  5. IEXCLOUD_PUBLIC_KEY=
  6. IEXCLOUD_SECRET_KEY=
  7. TRADIER_ACCESS_TOKEN=
  8. TRADIER_ENDPOINT=sandbox

Installation

npm install

Start Server

npm start

Run Tests

npm test

Dependencies

  1. Discord - Discord SDK
  2. IEX Cloud - Real-time US Market Data SDK
  3. Tradier - US Market Data SDK

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published