Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Several ib accounts

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

    Several ib accounts

    Hi there,


    how can I connect two or more different IB accounts to the NT?

    Can the NT run differents strategies sending orders to different IB accounts?


    THKS

    #2
    Hello,

    Thank you for your post.

    In order to access multiple IB accounts wiithin NinjaTrader all IB accounts must share the same username and password.

    Once connected you will have access to all accounts within the Account drop down menu which may then be traded seperately within the platform.

    Please let me know if I may be of further assistance.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      But IB doesn't allow two accounts with the same username. Please advise.
      Thank you very much.

      CTAtrader

      Comment


        #4
        Hi CTAtrader,

        This is something which is allowed in many cases, but I can't be sure of exactly how this would work on the IB side. I'd recommend that you follow up with IB to see if they can provide a bit more informaiton. As I recall, it is the FA account type which would be required here.
        KyleNinjaTrader Customer Service

        Comment


          #5
          Thanks, Ninja Kyle!

          Assuming I can get the same username/password for different IB accounts, how do I reference each account from Tradestation? I'm using Tradestation 8.7 and through NT's functions to send orders to TWS(s). But looking at the NT functions, for example NTBuyLimitstring orderId, int quantity, double limitPrice), it doesn't provide a way to specify different accounts.

          Thank you.
          Last edited by CTAtrader; 08-28-2011, 05:12 PM.

          Comment


            #6
            Hello CTAtrader,

            You can use the NTCommand function to specify the account. See the following link then Global functions section.

            int NTCommand(string command, string account, string action, int quantity, string orderType, double limitPrice, double stopPrice, string timeInForce, string oco, string orderId, string strategy, string strategyId)
            Function for submitting, cancelling and changing orders, positions and strategies. Refer to the Commands and Valid Parameters section for detailed information. A return value of 0 indicates success and -1 indicates an error. The Log tab will list context sensitive error information.


            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              CTAtrader, RyanM
              I've managed to connect to two IB accounts (one paper, one live), and have them run the same strategy side-by-side without any problems.
              Needless to say both account have a different user/password and authentication procedure.
              I did this by first running both TWS, logging in, and then hit the 'connect' from NT.

              Hope this helps.

              Boaz

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by ScottWalsh, Today, 04:29 PM
              0 responses
              4 views
              0 likes
              Last Post ScottWalsh  
              Started by rtwave, 04-12-2024, 09:30 AM
              2 responses
              21 views
              0 likes
              Last Post rtwave
              by rtwave
               
              Started by tsantospinto, 04-12-2024, 07:04 PM
              5 responses
              69 views
              0 likes
              Last Post tsantospinto  
              Started by cre8able, Today, 03:20 PM
              0 responses
              7 views
              0 likes
              Last Post cre8able  
              Started by Fran888, 02-16-2024, 10:48 AM
              3 responses
              49 views
              0 likes
              Last Post Sam2515
              by Sam2515
               
              Working...
              X