How To Connect Multiple Interactive Brokers Profiles: Difference between revisions
From MultiCharts
How To Connect Multiple Interactive Brokers Profiles (view source)
Revision as of 15:38, 5 November 2014
, 5 November 2014no edit summary
No edit summary |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
# Log into it with IB '''account #1'''; | # Log into it with IB '''account #1'''; | ||
# Check the settings of the '''1st''' IB API connection: | # Check the settings of the '''1st''' IB API connection: | ||
## In TWS click the 'Configure button; | ## In TWS click the 'Configure' button; | ||
## Select '''API''' section; | ## Select the '''API''' section; | ||
## Open the '''Settings''' menu; | ## Open the '''Settings''' menu; | ||
## '''Socket port''' should be set to 7496 (by default); | ## '''Socket port''' should be set to 7496 (by default); | ||
## ClientID should be set to 0 (or empty by default); | ## ClientID should be set to 0 (or empty by default) to receive all orders sent from the TWS GUI; | ||
## Click OK. | ## Click OK. | ||
# Check the '''Interactive Brokers''' Broker Profile in MultiCharts: | # Check the '''Interactive Brokers''' Broker Profile in MultiCharts: | ||
Line 24: | Line 24: | ||
## Open the '''Settings''' menu; | ## Open the '''Settings''' menu; | ||
## '''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'''); | ## '''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'''); | ||
## ClientID should be set to | ## ClientID should be set to 0 (or empty by default) to receive all orders sent from the TWS GUI; | ||
## Click OK. | ## Click OK. | ||
# Create the new Interactive Brokers broker profile: | # Create the new Interactive Brokers broker profile: | ||
Line 37: | Line 37: | ||
<div style="background-color: #E3FBE5;">Note: | <div style="background-color: #E3FBE5;">'''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. </div> | ||
<div style="background-color: #E3FBE5;">'''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.</div> | |||
[[Category:FAQ]] | [[Category:FAQ]] |