how to console.log profit rate ?
#1
Question 
Currently developing some improvements to bull/bear strategies.
It would be handy for debugging my code  to get the profit % to console.log when i do a short

how to get that, is it simply the previous.close and current candle close.. or does it works a bit more advanced ?.
(as that is not guaranteed to happen in real life to get it like that).
  Reply


Forum Jump:


Users browsing this thread: