1. the strategy attempts to submit order in historical data which is not send to the broker. i remove the historical conditions as you have suggested.
how do you avoid submitting orders under historical conditions or is this normal by design to ensure that there is a order object available for step # 2 below.
4Historical0 Current bar time: 2021-10-18 6:31:00 AM
Strategy 'restartdailyexampleRevised/208471452': An order placed at '2021-10-18 6:32:00 AM' has been ignored since the order was submitted before the strategy property BarsRequiredToTrade had been met.
2021-10-18 6:32:00 AM Strategy 'restartdailyexampleRevised/208471452': Ignored SubmitOrderManaged() method at 2021-10-18 6:32:00 AM: BarsInProgress=0 Action=Buy OrderType=Limit Quantity=1 LimitPrice=1.00 StopPrice=0 SignalName='dobedo' FromEntrySignal='' Reason='BarsRequiredToTrade has not been met'
5Historical1 Current bar time: 2021-10-18 6:32:00 AM
2. when i stop and start the strategy, the order object is still active. this is good.
Comment