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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    127 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    86 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X