A strategy creates a long position. When I stop and start the strategy the historical backfill causes the strategy to submit the orders again. This is expected although not wanted. I wrote about that problem here:
The other (new) problem is that the strategy position is NOT Position.MarketPosition == MarketPosition.Long as it should be. There are no chart markers ( despite being enabled ) and the Strategies tab shows that the strategy is Flat.
In the video in the 1st link above I restart the strategy at about 1 1/2 minutes into the video. You can see that EnterLong is called again, the Replay account goes from 2 contracts to 4 contracts. but the strategy position remains flat. I expect the strategy position to be long. Is that correct? Shouldn't the strategy position be long?
Comment