My question is around the "Strategy Id". For some reason, when a strategy start, it seems to start pushing data into the OnMarketData() and OnBarUpdate() function with a strategy ID = -1. It seems like it changes later to a positive value, but this is confusing not sure the need or purpose. Seems to waste time.
The ID I am speaking of is set within a strategy:
this.Id == -1
Comment