Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do I check whether I have any pending orders?

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

    How do I check whether I have any pending orders?

    I understand that I can keep track of them manually, but I was wondering if there is a simple way to do something like

    if (PendingOrders.count > 0)

    Thank you!

    #2
    Hello asdfadf,

    Thank you for your post.

    There is no function to count the pending orders from the strategy or account. You can however use OnOrderUpdate() to track each order that updates to Pending Submit: http://www.ninjatrader.com/support/h...rderupdate.htm

    Please let me know if I may be of further assistance.

    Comment


      #3
      Do you recommend against using Account.Orders?

      Comment


        #4
        Hello asdfadf,

        Thank you for your response.

        Account.Orders would be unsupported, but not necessarily something we would recommend to use.

        Please let me know if you have any questions.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        650 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        577 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X