Open main menu

How To Connect Multiple Interactive Brokers Profiles

In order to connect 2 Interactive Brokers broker profiles in MultiCharts with 2 different Interactive Brokers accounts please:

  1. Open the 1st instance of IB TWS platform;
  2. Log into it with IB account #1;
  3. Check the settings of the 1st IB API connection:
    1. In TWS click the 'Configure' button;
    2. Select the API section;
    3. Open the Settings menu;
    4. Socket port should be set to 7496 (by default);
    5. ClientID should be set to 0 (or empty by default) to receive all orders sent from the TWS GUI;
    6. Click OK.
  4. Check the Interactive Brokers Broker Profile in MultiCharts:
    1. In MultiCharts click File;
    2. Select Broker Profiles;
    3. Open Manage Broker Profiles menu;
    4. Highlight Interactive Brokers" broker profile;
    5. Click Edit;
    6. Make sure that the Port and ClientID settings are the same as in the 1st IB TWS platform settings.
  5. Open the 2nd instance of IB TWS platform;
  6. Log into it with IB account #2;
  7. Check the settings of the 2nd IB API connection:
    1. In TWS click the 'Configure button;
    2. Select API section;
    3. Open the Settings menu;
    4. Socket port should differ from the 1st IB TWS settings. It can be set to 7497 (or any other number different from the 1st IB TWS port);
    5. ClientID should be set to 0 (or empty by default) to receive all orders sent from the TWS GUI;
    6. Click OK.
  8. Create the new Interactive Brokers broker profile:
    1. In MultiCharts click File;
    2. Select Broker Profiles;
    3. Open Manage Broker Profiles menu;
    4. Click New;
    5. Select Interactive Brokers
    6. In pop-up window check that Port and ClientID settings are the same as in the 2nd IB TWS (i.e. Port - 7497, ClientID - 1).
    7. Click OK.
    8. The new (the second) broker profile will be named "Interactive Brokers 2" by default. This name can be changed in accordance with your needs.


Note: Data on charts and in DOM windows can be received only from 1 instance of IB TWS at the same time. This data can be used for trading with both accounts. Please check Interactive Brokers data feed settings in QuoteManager. The port number is set to 7496, which means that the data should be downloaded from the 1st TWS platform with account #1. If you want to receive the data from account #2, please change the port number to 7497 (or any other that you used for the 2nd TWS) in Interactive Brokers data feed settings in QuoteManager.
Note 2: In order to receive asks and bids in chart trading panel and trade bar to have access to all features of manual trading, both IB TWS should be subscribed to market data.