Skip to content

Realtime and historical stock market data Discord bot using Alpha Vantage.

License

Notifications You must be signed in to change notification settings

rafael89/stocks-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stocks-bot

GitHub license

Realtime and historical stock market data Discord bot using Alpha Vantage.

Commands

Quote

Returns the price and volume information for a token of your choice

/quote

Search

Returns the best-matching symbol and market information based on keyword of your choice.

/search

AutoSearch

Autocomplete the best-matching symbols based on keywords of your choice.

/autosearch

Setup

  1. Create your app with a Bot.
  2. Add an .env file on root
  3. Copy your bot's secret token and paste it into .env (DISCORD_TOKEN)
  4. Get your free Alpha Vantage API Key Alpha Vantage API Key, paste it into .env (ALPHAVANTAGE_KEY)
  5. Install Node.js
  6. Install the dependencies: npm install
  7. Run the bot: npm start