Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT Order Status Function

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

    NT Order Status Function

    In the help there is this:
    string OrderStatus(string orderId)
    Gets the order state (see definitions) for the orderId. Returns an empty string if the order ID value provided does not return an order.

    One question is how long does the platform retain a memory of orders? I have been assuming that when the log gets turned over to a new day and your order is no longer listed in it, that the platform will no longer report status for an order that does not appear in the log. This seems not to be the case.

    A complaint. In what I quoted from the help above, there is this, (see definitions). It is nearly impossible to find the "definitions". It should be a hot link.



    #2
    Hello, thanks for writing in. The order IDs are stored in the NinjaTrader database indefinitely. You can see these by accessing New>Trade Performance>Orders view. As long as the database does not get reset OrderStatus() will be able to access any order that exists in the database. I'll send an email to the help guide admins suggesting we add a hot link to the order states here:

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    627 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
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X