Closed Tribic closed 6 years ago
It's complaining about this line:
// For debugging purposes.
strat.log = function() {
// your code!
console.log("Log: Candle:", (candle.close)); // <--- this one
}
Since candle is not defined in that scope. For example you can remove that line.
You've posted this in the issue tracker for the project were we discuss bugs and talk about Gekko's code, you'll get more help building strategies on the forum or on discord, see this link: https://gekko.wizb.it/docs/introduction/getting_help.html
Great - everything´s working like expected! Thank you!
Hi, my problem was already discussed, solved and closed here #1312 , but i do not understand the solution :( in short: what exactly do i need to replace with "this.candle"? Thanks in advance :)
Here´s my code (Should do nothing except going through the functions and print logs:
Result:
...
Where/What do i need to replace with
this.candle
?
Thanks in Advance from the new bot Noob ;)