• 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

Check all opened positions

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

    Check all opened positions

    Hello,

    I need to check all the opened positions (from anothers strategies or manually opened) grouping by "Instrument". How could I do it?

    Thanks in advance...

    #2
    Hello soyjesus,

    In this case you need to check the account position.

    Below is a public link to the help guide.

    https://ninjatrader.com/support/help...ns_account.htm
    https://ninjatrader.com/support/help...ionaccount.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Sorry, but in this example you chek the account "Sim101". How can I chek all the account that exist?

      Comment


        #4
        Hello soyjesus,

        Loop over Accounts.All instead of using the FirstOrDefault() method which returns a specific account.

        https://ninjatrader.com/support/help.../en-us/all.htm
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Bionian, Today, 10:10 AM
        1 response
        9 views
        0 likes
        Last Post Emma1
        by Emma1
         
        Started by tonynt, Today, 10:47 AM
        0 responses
        7 views
        0 likes
        Last Post tonynt
        by tonynt
         
        Started by sgordet, Today, 10:01 AM
        0 responses
        4 views
        0 likes
        Last Post sgordet
        by sgordet
         
        Started by D Trader, Today, 09:43 AM
        0 responses
        5 views
        0 likes
        Last Post D Trader  
        Started by rafaelabe1977, Today, 03:51 AM
        1 response
        10 views
        0 likes
        Last Post sledge
        by sledge
         
        Working...
        X