Viewing all current variables - Printable Version +- Gekko Forum (https://forum.gekko.wizb.it) +-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html) +--- Forum: Technical Discussion (https://forum.gekko.wizb.it/forum-23.html) +--- Thread: Viewing all current variables (/thread-57509.html) |
Viewing all current variables - martyc - 08-06-2018 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. RE: Viewing all current variables - askmike - 08-07-2018 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). |