Running NT (8.0.19.1 64-bit) with IB Gatway (973.2h), overnight, strategies appear to have failed to re-enable after connection was lost. While the below log excerpt states the Strategy was re-enabled, it does not appear to have been re-enabled (the strategy prints to the output window each hour to evidence it is active).
2019-11-08 00:08:34:123|3|4|Strategy 'CmStrategy/107251860' lost price connection for more than 10 seconds and will be restarted. 2019-11-08 00:08:34:126|1|4|Disabling NinjaScript strategy 'CmStrategy/107251860' 2019-11-08 00:08:40:135|3|4|Received unknown error/warning: No market data during competing live session 2019-11-08 00:12:32:170|1|4|Enabling NinjaScript strategy 'CmStrategy/107251860' : On starting a real-time strategy - StartBehavior=WaitUntilFlat EntryHandling=All entries EntriesPerDirection=1 StopTargetHandling=Per entry execution ErrorHandling=Stop strategy, cancel orders, close positions, ignore order rejections ExitOnSessionClose=False SetOrderQuantityBy=Strategy ConnectionLossHandling=Recalculate DisconnectDelaySeconds=10 CancelEntriesOnStrategyDisable=False CancelExitsOnStrategyDisable=False Calculate=On each tick IsUnmanaged=False MaxRestarts=4 in 5 minutes
To prevent the IB error, I'm thinking delete the linked paper account. Thoughts? Other approaches?
Comment