• 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

2 accounts - same broker

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

    2 accounts - same broker

    Hi!

    Is it posible to trade two account of IB at the same time? One of them have subaccounts and I already know there´s no problem to choose the subaccount in each strategy, but now I must trade 2 different accounts with two different logins.

    - Will I be able to point each strategy to the account I want?

    - I suposse I will need a multibroker license, is it correct?

    - In the future... Can I trade 3 or 4 accounts?

    - Let´s say one account have futures data feed, and the other account have ETFs data feed. Can my strategies use futures data feed to calculate entries, and trade the second account with ETFs?

    Thanks in advance.

    #2

    Hello Santi,

    It is possible to connect to multiple Interactive Brokers accounts with a Single Broker license key enabled for Interactive Brokers.

    Manually start TWS from the desktop, if you have two accounts start it up twice with each account logged in.
    1. When platform has started, Click Configure > API Settings > Socket Port > Provide a unique value.
      1. Default is 7496, leave this as is for the first username.
      2. Add 1 to this value to be 7497 on the second account so each account has a unique port value.
    2. In your NinjaTrader connection for this account, match the port with what you specify in TWS for each account connection.
    3. Connect in NT using File > Connect, you will do this twice for both account connections.

    Christopher S.NinjaTrader Customer Service

    Comment


      #3
      Thanks a lot Chirtopher, it works like a charm. I´m connected to several account asociated to two IB users.

      Now I have a problem with data feed...

      Account 1 has data subscription to european and american futures. I receive this data in my NinjaTrader and strategies are working nice.
      Account 2 has data subscription to US Equity and Options Add-On Streaming Bundle1: Includes NYSE (Network A), AMEX (Network B), NASDAQ(Network C), and OPRA(US Options). In the TWS I can see the SPY or the AAPL real time data and chart.,, even I activate the extended hours trading session and I can trade with no problems, but when I try to open a chart in NinjaTrader it says

      AAPL: Error on requesting bar series [....] No market data permissions for ISLAND STK
      SPY: Error on requesting bar series [....] No market data permissions for AMEX STK

      I tried configuring SPY exchanges to ARCA or AMEX but problem persists.

      My idea is to use both data feeds in the strategies, using futures data from account1 to do some calculations while trading ETFs in the second account. All from the same script.

      Is there any problem with second accounts to use data feed? What can I do?

      Thanks in advance.

      Comment


        #4
        Unfortunately it is not possible to choose specific Interactive Brokers connections to pull specific asset classes from. You would need to have all data enablements on the first-connected Interactive Brokers account.

        Another alternative would be to get a supplementary data feed (like Kinetick) which would have enablements for all the data you need.

        You can learn more about how multiple connections work in NinjaTrader 8 here:

        https://ninjatrader.com/support/help...onnections.htm
        Patrick G.NinjaTrader Customer Service

        Comment


          #5
          Thanks for the info.

          I´m thinking about cancelling data in account 2 and activate it in the first.

          So... last question to be sure: If I enable US Equity and Options data feed in the first account, it should be possible to trade futures, stocks and ETFs in both accounts with only one subscription?

          Or I have to buy both subscriptions in each account.

          I have tried and I can execute orders over instruments without data feed in the TWS. I only have to accept a warning window, but it´s possible...

          Thanks for your help.

          Comment


            #6
            To my knowledge, this is possible. You may want to double check with Interactive Brokers as there may be something in the account settings of the account without live data that you'll need to adjust.
            Patrick G.NinjaTrader Customer Service

            Comment


              #7
              In regard to using an NT single-broker license to simultaneously connect to two IB accounts, do both IB accounts have to be on my name? What if one is and one is not?

              Separately, can the two IB accounts be used with a single data provider (which is not IB)?

              Comment


                #8
                NinjaTrader has no restriction on account owner preventing logins. You will definitely want to check with Interactive Brokers to ensure you have permission to use/trade an account that is not yours.

                Yes, you could connect a supplementary data provider (like Kinetick) while connected to Interactive Brokers.
                Patrick G.NinjaTrader Customer Service

                Comment


                  #9
                  Hi Patrick. Thanks for the reply. Of course I would not be trading by myself on an account that is not mine. This is in-house, developing a strategy together to operate on two accounts via the same machine. Each of our names could have easily been added to the other's account had it been necessary. I just wanted to know if it was a requirement by NT. Thanks again for clarifying.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by futurestrader7, Today, 11:31 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post futurestrader7  
                  Started by Teebone21, Today, 10:38 AM
                  0 responses
                  7 views
                  0 likes
                  Last Post Teebone21  
                  Started by J_o_s, 03-30-2020, 12:29 AM
                  2 responses
                  16 views
                  0 likes
                  Last Post J_o_s
                  by J_o_s
                   
                  Started by ptpatrader, Today, 10:27 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post ptpatrader  
                  Started by albertokeira, Today, 09:30 AM
                  0 responses
                  8 views
                  0 likes
                  Last Post albertokeira  
                  Working...
                  X