Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to cancel out live orders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to cancel out live orders

    I am unable to start a strategy with a live account. The previous account that was run using the strategy hit a stop loss with the broker Apex and I reset the account. Now, the strategy will not start as it seems to try to be cancelling live orders that don't exist.

    Also note that the control center Email Support menu option doesn't work; it says "There was an error sending a mail message: Could not load file or assembly MailKit Version=3.2.0.0".

    Here's a sample from the log file:

    2023-03-06 09:35:01:629|1|4|Enabling NinjaScript strategy 'ARangeCandleStrategy/283051842' : On starting a real-time strategy - StartBehavior=ImmediatelySubmit EntryHandling=All entries EntriesPerDirection=1 StopTargetHandling=Per entry execution ErrorHandling=Stop strategy, cancel orders, close positions, ignore order rejections ExitOnSessionClose=True / triggering 30 seconds before close SetOrderQuantityBy=Strategy ConnectionLossHandling=Recalculate DisconnectDelaySeconds=10 CancelEntriesOnStrategyDisable=False CancelExitsOnStrategyDisable=False Calculate=On each tick IsUnmanaged=False MaxRestarts=4 in 5 minutes
    2023-03-06 09:35:41:647|0|4|Unable to cancel out live orders. Strategy 'ARangeCandleStrategy/283051842' was not started.
    2023-03-06 09:35:41:648|1|4|Disabling NinjaScript strategy 'ARangeCandleStrategy/283051842'

    #2
    I posted a bit too early... I was able to simply create a new strategy with the same parameters and start it.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    66 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X