gekkowarez / gekkoga

Genetic Algorithm for solving optimization of trading strategies using Gekko
309 stars 106 forks source link

gekkoga

Genetic Algorithm for solving optimization of trading strategies using Gekko

Installation

node >= 7.x.x required!

1) git clone https://github.com/gekkowarez/gekkoga.git 2) cd gekkoga 3) npm install 4) cp config/sample-config.js config/your-config.js 5) modify your-config.js make sure you have data for currency/asset pair and the daterange 6) node run.js -c config/your-config.js

tmux usage:

1) sudo apt-get install tmux 2) tmux new -s gekkoga 3) go to the web folder in your gekko installation (gekko/web) 4) node –max-old-space-size=8192 server.js (for macos: --max_old_space_size=8192) 5) hold CTRL and press b, then press % (to split the screen) 6) goto your gekkoga clone directory 7) node run.js -c config/your-config.js 8) hold CTRL and press b, then hit d (to detach and run in the background) 9) tmux attach -t gekkoga (to reattach and bring gekkoga to foreground)