Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using ATM is it possible to enter an order into multiple accounts?

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

    Using ATM is it possible to enter an order into multiple accounts?

    Is it possible using ATM or maybe unmanaged script to enter an single order into multiple accounts from a single strategy?

    I've been trying and have assembled bits and pieces but can't make it work. So i'm wondering if maybe I'm wasting my efforts.

    regards,

    taddypole...

    #2
    for more detail, here is what I have so far. I guess my first specific question is, for the order command, where is the best place to put this Order to be able to manage it? Should this go in the OnBarUpdate?


    Account secondAccount = null;

    for (int i = 0;i <= NinjaTrader.Cbi.Globals.Accounts.Count - 1; i++)
    {
    if (NinjaTrader.Cbi.Globals.Accounts[i].Name == SlaveAcc1)
    {
    secondAccount = NinjaTrader.Cbi.Globals.Accounts[i];
    }


    if (secondAccount != null && LongEntryOk)
    {
    Order o = secondAccount.CreateOrder(Instrument,OrderAction.B uy,OrderType.Market,TimeInForce.Gtc,slvAccCntsToTr ade1,0,0,"","Buy");
    o.Submit();
    }

    Comment


      #3
      Taddypole,

      This is possible using account groups.



      Please let me know if I may assist further.
      Adam P.NinjaTrader Customer Service

      Comment


        #4
        The only problem with Account Groups is you can't size the number of contracts proportionately. That's the problem I'm trying to solve. If I have one large account and one small account want to trade more contracts in the larger account, Account Groups won't work.

        Comment


          #5
          Taddypole,

          Thanks for your note.

          There is no current supported way to trade multiple accounts with separate contract sizes from the same strategy. You would need to apply the strategy to separate accounts on the same chart.

          Please let me know if I may assist further.
          Adam P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          144 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          71 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          125 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          79 views
          0 likes
          Last Post PaulMohn  
          Working...
          X