Example of usage with Bitcoin in Binance
-
Hi everyone,
I published a little contribution in my Github. A example of usage of Backtrader with Binance integration. Using the CCXT lib for broker and feed.
The base strategy uses a simple RSI + SMA filter, with stop loss of 3%.
Feel free to contribute and improve the example: https://github.com/rodrigo-brito/backtrader-binance-bot
Best regards,
Rodrigo Brito -
@rodrigo-brito
How do we proceed to test with another dataset ? (ex: from 01/01/2019 to 05/05/2019)
It seems that your scripts do not incorporate params to generate a csv file with from some date to another.Best regards,
Diamond -
Hi @diamonddogs95, I used https://github.com/xFFFFF/Gekko-Datasets to generate a database in SQLite. Then I open it and run this query https://github.com/rodrigo-brito/backtrader-binance-bot/blob/master/dataset/queries.sql