Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

multiple IB accounts

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

    multiple IB accounts

    Hi there,
    I have a single broker license and I am having trouble connecting to two different interactive broker accounts (with different logins).

    First, do i need to have multiple broker ninja trader license to connect to both at once?

    If not, what is the appropriate connection setup for each.

    I tried using two different ports, but no luck. First connection establishes fine, and then when I attempt to connect to second I get this:

    Login failed: IB.Adapter.MessageLoop No connection could be made because the target machine actively refused it

    Thoughts?
    Thanks!

    #2
    Hello,

    Thank you for your post.

    From the sound of it, client ID will need to be changed on one of the logins. You'll need to remove one of the connections, then remake that connection using a different Client ID number. It doesn't matter which ID number you assign however please be sure to start TWS for that account and make the same Client ID change in the Configure > API tab of TWS.
    KyleNinjaTrader Customer Service

    Comment


      #3
      Hey Kyle,
      I just tried setting the client ID of one connection to (1) in both Ninja connections and within TWS and still no luck. Does one have to connect before the other? Any other thoughts?

      thanks!

      Comment


        #4
        Hi,

        What Client ID is used with the other connection? The two must differ.
        KyleNinjaTrader Customer Service

        Comment


          #5
          default, so zero. no edits made to that TWS side of things

          Comment


            #6
            Hello,

            Is TWS 938 (Help > About Trader Workstation) being used with NinjaTrader 7.0.1000.14 (Help > About)?
            KyleNinjaTrader Customer Service

            Comment


              #7
              nope, let me try updating both, i'll get back to you. Thanks Kyle

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by judysamnt7, 03-13-2023, 09:11 AM
              4 responses
              59 views
              0 likes
              Last Post DynamicTest  
              Started by ScottWalsh, Today, 06:52 PM
              4 responses
              36 views
              0 likes
              Last Post ScottWalsh  
              Started by olisav57, Today, 07:39 PM
              0 responses
              7 views
              0 likes
              Last Post olisav57  
              Started by trilliantrader, Today, 03:01 PM
              2 responses
              21 views
              0 likes
              Last Post helpwanted  
              Started by cre8able, Today, 07:24 PM
              0 responses
              10 views
              0 likes
              Last Post cre8able  
              Working...
              X