Is there a way to disable this for the second series?
Or is it a case of storing in a variable the value of BarsInProgress in OnBarUpdate that can be used in OnMarketData to filter out and do not calculate/store the secondary series events. I recall as with CurrentBar that BarsInProgress value is not guaranteed outside the scope of OnBarUpdate ? Is this correct?
I would rather not receive onmarketdata events for the secondary series if this is possible but suspect there isnt a way to do this.
thanks

Comment