Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    26 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, Yesterday, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    191 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,230 views
    0 likes
    Last Post xiinteractive  
    Working...
    X