Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Counting Open Orders

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

    Counting Open Orders

    I need to count the number of open orders in my interactivebrokers account. I am having trouble trying to find the code script for this. I use Positions.Length to count the number of open positions. But I also need to count open orders. Can someone help direct me to an information on this. I am using NT7.

    #2
    Hello Huss1652,

    Thank you for your post.

    There is not supported method for obtaining these positions and orders on the account. Each strategy will operate from its own logic and position tracking.

    However, this an unsupported method for querying the accounts and getting the account info.
    Please see the forum thread below -
    http://www.ninjatrader.com/support/f...ad.php?t=55718

    Please note that since this unsupported there is no documentation on the matter.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X