Discord Stock Exchange (DSE)
Virtual stock exchange bot to use virtual currency in the real world market
Bot Prefix: Start a command with % to use the bot (ex. %stock AAPL
)
Add to your server
Invite DSE to server
Commands
- stock [ticker]
- Display stock price, price change, percent change
- rs [ticker]
- Displays the stock price, price change, percent change in real time (updates every minute for 5 minutes)
- gainers
- Displays the top 10 stock gainers of the day
- losers
- Displays the top 10 stock losers of the day
- secp
- Displays today's sector performance (updated daily)
- stockcandle [ticker timeframe]
- Displays the stock's candle data over specified timeframe.
- Possible timeframes (multiples can be specified ex. 5D): D, W, M, Y, MAX
- stockline [ticker timeframe]
- Displays the stock\'s data in a line graph over specified timeframe.
- Possible timeframes (multiples can be specified ex. 5D): D, W, M, Y, MAX
How to contribute
- Fork repo
- Install required dependencies
- Write additional implementations
- Create a bot on the Discord Developer Portal
- Add your bot's token to your computer's environmental variables
- key: 'DSE_BOT_TOKEN'
- value: 'YOUR BOT TOKEN'
- Invite your bot to a private test server
- Test added bot commands
- Once working, create a pull request
Dependencies
To install the dependencies, in the root folder, run:
pip install -r requirements.txt