Trade crypto on binance.
- Python3
- Install requirements.txt
- Add env vars. Change client api keys with your own(see _client.py) OR add env vars
NOTE: Change urls from testnet to production(if you want to use real money)(see websocket.py and api.py)
- Execute bot.py
python bot.py
For now we assume that we are going to have two sets of data:
- Real time data, we will calculate this data on the fly from websocket
- Periodical long term data. This will be fetched on longer intervals, so we dont need to aggregate realtime data
- Bot.py
- Main entry file for live and mock testing
- Trend.py
- Different trading indicators. You can import them to create your own trading strategy
- Backtest.py
- Run this file to test your strategy against custom or predefined period in the past
- Thread.py
- Manage threads and data from diffrent data sources