Backtest log location
#1
Hi,

I want to read all logs write in backtest mod in order to debug my strat but I can't find where they are.
Gekko/log is always empty, maybe something isn't enable.

Thanks
  Reply
#2
Backtests generate a LOT of logging (especially if you have debug logging turned on), this fills up your disk as well as make backtests slower.

I can help you enable it, but first can you help me understand what kind of information you want to get out of these backtests?
  Reply
#3
(08-14-2018, 01:12 AM)askmike Wrote: Backtests generate a LOT of logging (especially if you have debug logging turned on), this fills up your disk as well as make backtests slower.

I can help you enable it, but first can you help me understand what kind of information you want to get out of these backtests?

I would like to print all log.info() and log.debug() from a strategy.js, to help me to understand how things are working.
Thanks
  Reply
#4
Backtests runs through the UI have surpressed logging, and we have to jump through some hoops to enable them again.

I'd recommend running Gekko over the CLI: this gives you more control, see this: https://gekko.wizb.it/docs/commandline/a...dline.html

It boils down to:

- open up sample-config.js and configure your market
- run `node gekko -c sample-config.js -b`

and voila Smile
  Reply
#5
(08-14-2018, 12:54 PM)askmike Wrote: Backtests runs through the UI have surpressed logging, and we have to jump through some hoops to enable them again.

I'd recommend running Gekko over the CLI: this gives you more control, see this: https://gekko.wizb.it/docs/commandline/a...dline.html

It boils down to:

- open up sample-config.js and configure your market
- run `node gekko -c sample-config.js -b`

and voila Smile

Thank you Askmike, I will check that !
  Reply


Forum Jump:


Users browsing this thread: