Viewing all current variables
#1
This may help someone.

I was trying to add the tick time to my logging and kept getting lost so I added

log.info(this); at the end of the script.

This causes it to display ALL of the variables and then I was able to narrow it down bit by bit.

log.info(this.candle.start) was what I was after btw.
  Reply
#2
Woa great idea! I'll think about adding an object to your strategy that you can enhance, and with some debug logging it will log that after every tick. That way we can also push it to the UI and such (see the new one here).
  Reply


Forum Jump:


Users browsing this thread: