Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unmanaged approach: RealtimeErrorHandling

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

    #16
    So if OnOrderUpdate is only called for errors of the Rejected type, is there any callback function available for Non-rejected errors? If not, then it seems there is no way to properly handle all types of errors that can occur when a strategy is running.

    Originally posted by NinjaTrader_Cal View Post
    Pstrusi,

    An order will only be handled internally, when it gets rejected. Those other error codes do not effect the RealtimeErrorHandling that way.

    If an error comes back that is Non-rejected, the order will stay as it is or will get resubmitted when the condition is true again for the entry order.

    The only time a strategy handles any error is when the Order gets rejected and you have the default RealtimeErrorHandling (StopStrategyCancelOrdersClosePositions).

    Furthermore, I'm not sure what you mean by temporal error form the broker, could you please elaborate?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X