Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using accounts groups

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

    Using accounts groups

    Hello,

    I have created a Accounts Group but I can't find it in the selection lists.

    I have disconnected Ninja and I have connected again but the Account Group doesn't exist.

    How can I solve it?

    Thanks in advance and regards.

    #2
    Hello soyjesus,

    Where are you trying to select the Account Group?

    Account Groups can be used in any order window but cannot be used for NinjaScript Strategies.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Upsss,

      I need to access to different accounts with the same strategy. Can I change the account assigned to a strategy from Ninjascript?

      Comment


        #4
        Hello soyjesus,

        Add an instance of the strategy for each account.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hellos Chelsea B.,

          I need to change the account from inside my strategy because I use a lot of accounts with a same strategy (more than thirty simulation accounts and several real accounts).

          Comment


            #6
            Hello soyjesus,

            It will not be possible to select an account from within the strategy code.

            Once a strategy has been started on one account, if the account is changed NinjaTrader can start generating errors about being unable to cancel previously made orders.

            You will need to add a new instance for each account. Even if there are a lot of them.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by SalmaTrader, 07-07-2026, 10:26 PM
            0 responses
            46 views
            0 likes
            Last Post SalmaTrader  
            Started by CarlTrading, 07-05-2026, 01:16 PM
            0 responses
            22 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 06-17-2026, 10:32 AM
            0 responses
            14 views
            0 likes
            Last Post CaptainJack  
            Started by kinfxhk, 06-17-2026, 04:15 AM
            0 responses
            20 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 06-17-2026, 04:06 AM
            0 responses
            22 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Working...
            X