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 argusthome, 03-08-2026, 10:06 AM
          0 responses
          85 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          47 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          29 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          32 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          67 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X