• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.


            http://www.ninjatrader.com/support/h...parameters.htm
            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 Bionian, Today, 10:10 AM
              2 responses
              14 views
              0 likes
              Last Post NinjaTrader_ShawnB  
              Started by D Trader, Today, 01:41 PM
              0 responses
              7 views
              0 likes
              Last Post D Trader  
              Started by rexmie888, Today, 04:00 AM
              1 response
              9 views
              0 likes
              Last Post NinjaTrader_ShawnB  
              Started by terminatorT1000, Today, 01:23 AM
              1 response
              11 views
              0 likes
              Last Post NinjaTrader_ShawnB  
              Started by Tradarr, Today, 12:25 PM
              0 responses
              7 views
              0 likes
              Last Post Tradarr
              by Tradarr
               
              Working...
              X