676
edits
(6 intermediate revisions by 2 users not shown) | |||
Line 31: | Line 31: | ||
Interactive Brokers Profile is already created when MultiCharts is installed. It is not necessary to reconfigure its settings if only one IB account is going to be used with no subaccounts, but it is Important to set up connection parameters in IB TWS. | Interactive Brokers Profile is already created when MultiCharts is installed. It is not necessary to reconfigure its settings if only one IB account is going to be used with no subaccounts, but it is Important to set up connection parameters in IB TWS. | ||
==Setting up | ==Setting up Interactive Brokers Trader WorkStation== | ||
The following configuration is required to establish connection between MultiCharts platform and IB TWS: | The following configuration is required to establish connection between MultiCharts platform and IB TWS: | ||
# Click on '''Configure''' in main TWS window. | # Click on '''Configure''' in main TWS window. | ||
Line 40: | Line 40: | ||
# Add '''127.0.0.1''' to '''Trusted IP Addresses''' or check the '''"Allow connections from localhost only"''' box (only if TWS is running on the same PC). If TWS is running on a remote PC - you should specify its IP address. | # Add '''127.0.0.1''' to '''Trusted IP Addresses''' or check the '''"Allow connections from localhost only"''' box (only if TWS is running on the same PC). If TWS is running on a remote PC - you should specify its IP address. | ||
==Setting up | ==Setting up Interactive Brokers Gateway== | ||
The following configuration is required to establish connection between MultiCharts platform and IB Gateway: | |||
'''IB API''' option should be selected when logging | # '''IB API''' option should be selected when logging into IB Gateway. | ||
# Click on '''Configure''' in main | # Click on '''Configure''' in main Gateway window. | ||
# Click on '''API''' section. Select '''Settings'''. | # Click on '''API''' section. Select '''Settings'''. | ||
# Uncheck '''Read-Only API''' box. | |||
<div style="background-color: #E3FBE5;">'''Note''': By default in IB Gateway '''Socket port''' number is '''4001'''. In IB data source in QuoteManager default '''Port''' ('''Socket port''') number is '''7497''' | # Set the Port (Socket port) number to the same value both in IB Gateway and IB Broker Profile in MultiCharts. <div style="background-color: #E3FBE5;">'''Note''': By default in IB Gateway '''Socket port''' number is '''4001'''. In IB data source in QuoteManager default '''Port''' ('''Socket port''') number is '''7497'''.</div> | ||
# Add '''127.0.0.1''' to '''Trusted IP Addresses''' or check the '''"Allow connections from localhost only"''' box (only if Gateway is running on the same PC). If Gateway is running on a remote PC - you should specify its IP address. | |||
==Setting up Interactive Brokers Profile== | ==Setting up Interactive Brokers Profile== | ||
Line 60: | Line 59: | ||
===General Settings section=== | ===General Settings section=== | ||
'''IP address''' and '''Port''' number | '''IP address''' and '''Port''' number | ||
'''ClientID'''. “0” by default. If there is another trading platform running on your computer that is connected to IB TWS, it is recommended to change the corresponding value in that piece of software. | '''ClientID'''. “0” by default. If there is another trading platform running on your computer that is connected to IB TWS, it is recommended to change the corresponding value in that piece of software.<br> | ||
<br>Starting from MultiCharts 11, IB TWS can be launched automatically by MultiCharts on attempt to connect IB broker profile. To enable this option check <b>Launch Trader Workstation</b> at start box. | |||
===Default Order Settings section=== | ===Default Order Settings section=== | ||
Line 111: | Line 111: | ||
===Connection Settings section=== | ===Connection Settings section=== | ||
''' | '''Disconnect the broker profile (stop auto trading) in X seconds after IB TWS is logged off.''' | ||
In case of the connection loss | In case of the connection loss the broker profile will be disconnected after the specified period of time if the connection is not re-established, as the result the auto-trading will be turned off. | ||
===Financial Advisor Settings=== | ===Financial Advisor Settings=== |