I have a question, when I write a multiple instrument strategy, I make sure to write if(BarsInProgress == 0){ do something} on OnBarsUpdate.
But I'm curious, how can you be so sure that bars for all the other instruments are updated when the instrument [0] is updated?
Is there any way I can confirm that all instrument bars are created when I run the strategy?
I need to make sure because otherwise, the performance will not match the simulation.
Would appreciate your advise.
Best Regards,
hana_maui

Comment