CLI tool helps to put together testing and optimizing strategies that extend the Gekko's Trading Bot capabilities – and thus you may get the most of it, and see what combinations were the best and the worst backed up by statistics.
The results appear in a CSV report file. It provides key statistics describing the overall performance of the selected strategies over the chosen historical timing of the simulation.
It uses Gekko's API, one gekko instance running required only.
Strategies / Trading Pairs / Candle sizes / History sizes / Dateranges / Range of strategy config's parameters (BruteForce)
npm install
– first, you need to install dependencies.node gekko --ui
– start Gekko in ui mod.cp sample-config.js config.js
– just copy sample-config.js like this. Strategy settings will be taken from here.Additional:
Increase server.timeout
at /gekko/web/server.js
to avoid a timeout error if the strategy runs for a long time. For example, this happens for small sized candles.
npm install
cp sample-config.js config.js
– don't forget to create config file as well.config.js
and you are ready to go.After all the above you can start tools by running one of the following in your terminal:
node batch -c config.js
– to start Batcher
node bruteforce -c config.js
– to start Bruteforce
node import -c config.js
– to start Importer
You can find results in the results folder after backtests. Take a look of Sample file output
:movie_camera: Gekko Trading Bot - Gekko Batcher - YouTube – watch a video review of these tools.
:spiral_notepad: [RU] Gekko-batcher — тестирование и оптимизация торговых стратегий
Forks and stars are highly welcome.
For bugs and feature requests, please create an issue.