Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy disabled on rejected order

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

    Strategy disabled on rejected order

    Hello,

    at the beginning of the session (6:59) my strategy was disabled because a stop order was rejected in reason of a connection loss. In Options I have choosen "keep running" in case of connection loss. Another strategy with sessionbegin 7:59 was not affected.

    The message was:
    Strategy 'GBPUSDstop/7b40fed46af34a98a5a4dfd47c3ede5f' submitted an order that generated the following error 'UnableToSubmitOrder'. Strategy has sent cancel requests, attempted to close the position and terminated itself.

    How can I avoid that the strategy terminates itself in that case?
    Is this a new behaviour in NT7? In NT6.5 I have never seen this but propably never lost connection at the sessionbegin.

    Thanks a lot.

    Joerg

    #2
    Joerg, the issue here was a rejected order generated by the strategy, this has not changed with NT7 and would still cause a strategy termination per default. To continue running the strategy, you would need to set the real time error handling to TakeNoAction, however this will have serious consequences and you would need to handle upcoming error scenarios then in your code...like reissuing the rejected order after x mins etc.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    55 views
    0 likes
    Last Post CarlTrading  
    Working...
    X