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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    157 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    91 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    143 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    131 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X