Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Too many accounts in 'Account.All'

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

  • pserrera
    replied

    thanks a lot, it works fine!!

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello pserrera,

    I was able to confirm disconnected accounts will appear in the Account.All collection. This is by design and are in the collection so that the orders from disconnected accounts can be accessed by an Addon.

    You can filter for connected accounts only if you would like.
    Account.All.Where(x => x.ConnectionStatus == ConnectionStatus.Connected)

    The Accounts tab of the Control Center, as well as AccountSelectors will only show connected accounts.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello pserrera,

    There is a new release of NinjaTrader 8 due in the near future. The Accounts available were among items worked on in this release.

    I will need to test in the new release before addressing the issue.

    I appreciate your patience.

    Leave a comment:


  • pserrera
    started a topic Too many accounts in 'Account.All'

    Too many accounts in 'Account.All'

    Hello,

    I have an account control in my Ninja script coding, using the 'Account.All' collection.
    When I access that collection, por example with a 'foreach' sentence, a lot of accounts come up: all my testing accounts, old demo accounts, Interactive Brokes accounts... even I don't see them in the Accounts tab of the Control Center.

    Where does NinjaTrader keep all this old accounts, and how can I delete them? Just to keep my environment as neat as possible.

    By the way, I have a lifetime NinjaTrader (NT8) license.

    Thanks a lot!

Latest Posts

Collapse

Topics Statistics Last Post
Started by ct, Today, 04:16 AM
1 response
14 views
0 likes
Last Post ct
by ct
 
Started by aeadon, Today, 02:27 AM
1 response
7 views
0 likes
Last Post NinjaTrader_Jason  
Started by op1031, Today, 01:52 AM
0 responses
3 views
0 likes
Last Post op1031
by op1031
 
Started by Aramunno, Yesterday, 10:11 PM
2 responses
19 views
0 likes
Last Post Aramunno  
Started by sdauteuil, Yesterday, 09:38 PM
0 responses
7 views
0 likes
Last Post sdauteuil  
Working...
X