Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error Handling Unmanaged approach

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

    Error Handling Unmanaged approach

    Hi,
    In my strategy, I am using
    RealtimeErrorHandling= RealtimeErrorHandling.TakeNoAction; and handling the OrderState.Rejected in OnOrderUpdate.

    IgnoreOverFill = true; and handling the over fill in the code.

    With the above two options set in the initialize method, Do I need to handle any other errors in my code other than OverFill and Rejected statuses?
    Do I need to handle any data connection related issues in my code if I have above options set?

    Is there a way to access the broker/account position (Not the strategy position through Position object) in my strategy?

    Thanks,
    gsreddy

    #2
    Hi gsreddy, no that would be the cases needed custom management by your code, the connection as aspects would be handled as default and not impacted by those settings.

    Accessing the account position programmatically would be unfortunately not supported, but it's on our feedback list for potential consideration to add in our next major update - your request in this area has been added as well.

    As a hint into undocumented code territory you can check into - http://www.ninjatrader.com/support/f...2&postcount=33

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    670 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    379 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    582 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X