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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    54 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    34 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    94 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    56 views
    0 likes
    Last Post PaulMohn  
    Working...
    X