I would like to do some time consuming computations after last historic bar is received. I need to have access to performance, price and indicators.
Could you please let me know how should I call such function so it is executed only one time at the end. I theoretically can look for previous and next bars and when there is a swith from historic to realtime bar call this function fron onbarsupdate but I am wondering if you know a better way.
Best ergards,
Sergey.

Comment