• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

open positions/orders

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

    open positions/orders

    Hello

    I'm trying to find out if there are current open positions/orders. Not necessarily the ones which were created by my strategy but could have been created outside of it. Does the Account.Positions and Account.Orders is what I am looking for? If not, what is it?

    Thanks

    #2
    Hello kiss987,
    Thanks for your post.

    I believe you may want to use PositionAccount. Let me know if this isn't what you are looking for.

    Help Guide - PositionAccount
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thank you for your reply.

      Can you please add a short example of how do I iterate on all curent open positions/orders?

      Comment


        #4
        There is an example of looping through the orders collection in the following help guide document.

        Help Guide - Orders
        Josh G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Trade95, Today, 05:38 PM
        0 responses
        2 views
        0 likes
        Last Post Trade95
        by Trade95
         
        Started by Karelgp7, Today, 03:16 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by orenytz, Today, 01:18 PM
        1 response
        20 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by des.kkeng, Today, 01:10 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by Capablanca, Today, 12:35 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X