https://github.com/samzhang02/stonk
Discord bot that allows query of stock market information via user commands.
https://github.com/samzhang02/stonk
bot discord finance
Last synced: about 1 year ago
JSON representation
Discord bot that allows query of stock market information via user commands.
- Host: GitHub
- URL: https://github.com/samzhang02/stonk
- Owner: SamZhang02
- License: mit
- Created: 2022-12-02T03:05:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T17:19:17.000Z (over 3 years ago)
- Last Synced: 2025-05-06T08:52:42.036Z (about 1 year ago)
- Topics: bot, discord, finance
- Language: Python
- Homepage:
- Size: 8.33 MB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# STONK
[](https://github.com/Rapptz/discord.py)
[](https://www.python.org/)
Discord bot that allows for the retrieval of the stock market's information via user commands.
https://user-images.githubusercontent.com/112342947/212703080-810c866b-6e16-4de1-b878-b5605a3abf5e.mp4
## REQUIREMENTS
Libraries: `pip install -r requirements.txt`
Database: SQLite3
### To create you own instance:
`.env` file with a Discord bot API key from the Discord Developper Portal to create your own discord bot instance.
### To invite my instance of the bot to your server:
Link: https://discordapp.com/oauth2/authorize?&client_id=1048012729711087626&scope=bot
## ROADMAP
- Implement price change since open in all commands
- Implement embeds' color change depending of whether change since open is positive or negative
## COMMANDS
All commands start with the prefix `stonk` (Caps sensitive)
`stonk help` to retrieve all possible bot commands
Retrieve all possible bot commands.
## CREDITS
The underlying API wrapper for the discord bot is [discord.py](https://github.com/Rapptz/discord.py).
Most of the stock market's information are retrieved using the [yfinance](https://github.com/ranaroussi/yfinance) library.