GekkoStrategies
GekkoStrategies copied to clipboard
Backtesting in cli didn't work -> Fixed.
Backtesting in cli didn't work. I fixed this.toml variable initialization and some variable typos. Now backtesting in cli works as expected.
I've not yet ran it in cli (will soon when my rasbPi arrives i a few weeks), However the TOML variables are used a lot in the code. For example look at the lines around 286 and later. If i'm right about the current usage of JS this refers to the main object of the strategy. By doing this.toml i can use variables at all locations (they're global). I think the code would brake with the changes sugested. (missing out on lines where those variables are used)
Noticed this issue too. Will test once my mini hdmi cable arrives for my raspberry pi.