University project on Python: an exchange simulator as a telegram bot.
Uses real market from Yahoo finances (yfinance
), so you can collect a portfolio from top-50 S&P 500 companies!
Deployed telegram bot available at @hsedaq_bot
Bot is working on Yandex.Cloud VDS, with CD pipeline (GitHub Actions)
Stock prices are updating with yfinance
, but have <=5 minutes delay.
Bot navigation are done with inline buttons or commands (probably deprecated).
Old users should run /start
command to make the menu appear.
- Custom tournaments.
- Default tournament (updates every week)
- Shorts
- Rating
- Overall plot after tournament! (doesn't work in default tournament)
If you want to deployment follow these steps:
- Install dependencies:
pip install -r requirements.txt
- Set
TG_BOT=<your bot token>
andLOGURU_LEVEL=INFO
(if you don't want debug output) environment variable - Add project root to
PYTHONPATH
variable - run
tg/main.py