GekkoStrategies icon indicating copy to clipboard operation
GekkoStrategies copied to clipboard

Backtesting in cli didn't work -> Fixed.

Open Zid-0 opened this issue 5 years ago • 2 comments

Backtesting in cli didn't work. I fixed this.toml variable initialization and some variable typos. Now backtesting in cli works as expected.

Zid-0 avatar Oct 18 '19 12:10 Zid-0

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)

PGTBoos avatar Oct 18 '19 17:10 PGTBoos

Noticed this issue too. Will test once my mini hdmi cable arrives for my raspberry pi.

RadiantAeon avatar Oct 28 '19 21:10 RadiantAeon