Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

warning messages during strategy run

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

    warning messages during strategy run

    when debugging a strategy it would be really useful if you could throw exceptions instead of just printing warnings to the output window.

    for example,

    i'm getting an occasional "**NT** An Enter() method to submit an entry order at '1/4/2010 7:03:00 AM' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation."

    however, there's really no way to track down where this is occurring in my strategy since I'm not able to set a breakpoint on where this message is being printed.

    if i have chosen 'debug mode' when compiling my strategies, could you please throw exceptions for these messages instead of just printing them to the output window. that way it would be easy to see when they're happening when running under a debugger.

    #2
    Piersh, you could always set TraceOrders = true in the Initialize() section for more information about when and why an order was canceled or rejected.

    Anyways, thanks for the suggestion.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    626 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    359 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    562 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    567 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X