Telegram chatbot for ZhigulCoin binary options trading with ML assistant for OhMyHack hackaton in Samara 2018.
System simulates stock changes every SYSTEM_UPDATE_PERIOD minutes and update state - predictions, current price, charts and process all bets.
Model is trained in *.ipynb file and serialized.
In general it's Telegram interface with simple long-polling backend + periodic celery tasks.
Required docker and docker-compose installed
- Create
infranginx_defaultdocker network (was too lazy to change it). - Add your telegram token to app folder in
secret.txt - Do
docker-compose build - Do
docker-compose up -d - Then you need to feed initial data. Join web container
docker exec -it zhigultokenbot_web_1 /bin/bash. - Do
python3 models.py - Can require
docker-compose restart.