I'm guessing this has something to do with an error in the contract merge process as it's on the rollover date. How would you suggest I correct this portion of the tick data? I've already tried re-downloading the data from Ninjatrader and that hasn't corrected the problem.
As additional background information I have the trade details being recorded with TraceOrders set to true and also print statements in the OnExecutionUpdate method printing out information from the trade object. That info shows the trade was both entered and exited on the 16th at the same exact time but roughly $4 apart in price.
10/16/2023 12:37:58 PM Strategy 'A1ESvT/-1': Entered internal SubmitOrderManaged() method at 10/16/2023 12:37:58 PM: BarsInProgress=2 Action=Buy OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='L-REG3-42' FromEntrySignal='' 10/16/2023 12:37:58 PM Strategy 'A1ESvT/-1': Entered internal SubmitOrderManaged() method at 10/16/2023 12:37:58 PM: BarsInProgress=2 Action=SellShort OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='S-REG3-43' FromEntrySignal='' 10/20/2023 12:00:00 AM Strategy 'A1ESvT/-1': Cancelled pending entry order on opposite side of the market: BarsInProgress=2, orderId='NT-00083-4163' account='Backtest' name='S-REG3-43' orderState=Working instrument='MCL 12-23' orderAction=SellShort orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='' filled=0 averageFillPrice=0 onBehalfOf='' id=-1 time='2023-10-16 12:37:58' gtd='2099-12-01' statementDate='2023-11-11' # 42. - LONG - 10/16/2023 12:37:58 PM - A1ESvT ------------------ Entry for L-REG3-42 : 89.44 on bar: 621 ATR: 0.38 Target for L-REG3-42 : 89.49 UseHardStop: True HardStop: 10 Hard Stop: 89.34 o.StopLoss: 89.34 Setting ParaStop... ParaStop for order: L-REG3-42 : 89.34 10/16/2023 12:37:58 PM - Closing L-REG3-42 on SESS condition at 85.23 Net: -421 Cumulative Profit: -373 10/23/2023 1:34:19 AM Strategy 'A1ESvT/-1': Entered internal SubmitOrderManaged() method at 10/23/2023 1:34:19 AM: BarsInProgress=2 Action=Buy OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='L-REG3-44' FromEntrySignal=''

Comment