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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          68 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          39 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          63 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          62 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X