github.com/thighdev/StockBot

Discord bot for stonkz.

Open this visualization on its own page →

Contributors

6

Lines of Code

249

From

2021-02-05

To

2021-05-24

About thighdev/StockBot

StockBot is a self-hostable Discord bot written in Python that delivers stock market information and portfolio management directly within Discord servers. The bot provides real-time stock data, market movers, news, and price alerts, making it useful for traders and investors who want to monitor the market without leaving their Discord workspace.

The bot includes a virtual trading system where users can practice buying and selling stocks, building a portfolio tracked through Discord commands. It supports multiple regions including the US and Canada, and offers various query formats such as live prices, historical performance over custom timeframes, and market summaries for specific tickers. Users can also set price alerts that trigger direct messages when stocks reach specified thresholds.

StockBot requires Python 3, MySQL, and pipenv to run, with optional Docker and docker-compose support for simplified deployment across different operating systems. The project includes dedicated setup instructions for both Linux and Windows environments, making it accessible to users with varying infrastructure preferences.

Share this video