Interactive Brokers Broker Profile: Difference between revisions
From MultiCharts
Interactive Brokers Broker Profile (view source)
Revision as of 17:33, 16 August 2018
, 16 August 2018no edit summary
No edit summary |
Abeloglazova (talk | contribs) No edit summary |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
Though there is choice between web-based (Online) and standalone version (Offline), standalone version is recommended for MultiCharts connection. To download Trader Workstation and Gateway, follow this link: | Though there is choice between web-based (Online) and standalone version (Offline), standalone version is recommended for MultiCharts connection. To download Trader Workstation and Gateway, follow this link: | ||
https://www.interactivebrokers.com/en/index.php?f=14099#tws-software | |||
For FOREX trade size should be equal to the amount of units, not trade lots. | For FOREX trade size should be equal to the amount of units, not trade lots. | ||
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: | |||
# Click on '''Configure''' in main TWS window. | # Click on '''Configure''' in main TWS window. | ||
# Click on '''API''' section. Select '''Settings'''. | # Click on '''API''' section. Select '''Settings'''. | ||
# Check '''Enable Active X and Socket Clients''' box. | # Check '''Enable Active X and Socket Clients''' box. | ||
# Uncheck '''Read-Only API''' box. | |||
# Set the Port (Socket port) number to the same value both in IB TWS and IB Broker Profile in MultiCharts. <div style="background-color: #E3FBE5;">'''Note:''' If more than one IB TWS will be used, then separate Broker Profile should be created per each additional IB TWS and set their '''Port''' numbers accordingly, but each IB Broker profile should have unique Port number, that corresponds to one IB TWS. </div> | |||
# 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 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 into IB Gateway. | |||
# Click on '''Configure''' in main Gateway window. | |||
==Setting up | |||
'''IB API''' option should be selected when logging | |||
# Click on '''Configure''' in main | |||
# 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 63: | 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 114: | 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=== |