module for testing algorithmic strategies on live bybit datastream
Required packages:
- python-binance
- bybit-ws
- pandas
- time
- matplotlib
- numpy
- pickle
- logging
- If any other are missing just pip install them
How to us paper trading module:
- If you based you strategy on ema or ma edit the get_emas() function with desired ma and emas
- change lines 62 and 63 according to you selected ma/emas
- Depending on which ticker and timeframe you want to test the strategy change the ticker and timeframe in lines 51 and 58
- Change strategy variables from line 77 to 86
- Change the strategy to your strategy from line 126 onwards
- Also feel free to explore and change or add any other functions
If you have any question regarding the scripts you can ask me on twitter @slurpxbt