Changes

Jump to navigation Jump to search

Interactive Brokers Broker Profile

1,095 bytes added, 17:33, 16 August 2018
no edit summary
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:
httphttps://individualswww.interactivebrokers.com/en/control/systemstandaloneindex.php?os=win&ib_entityf=llc14099#tws-software
For FOREX trade size should be equal to the amount of units, not trade lots.
Native OCO-group is used when the broker’s plug-in supports OCO-groups. In this case all OCO orders are sent to the broker directly and unfilled OCO orders will be cancelled by the broker.
Simulated OCO-group means that all OCO orders are sent to the broker, price is monitored by MultiCharts and once one of the orders is filled, other orders from this OCO group are cancelled by MultiCharts. When one of the OCO orders is filled, MultiCharts sends a command to cancel the second OCO order to broker. Note that the second order may also be filled if price reaches its level before the cancellation is processed by the broker (see [[Trading Risks# OCO-Orders Risk|OCO-Orders Risk]]).</div><br> <div style="background-color: #E3FBE5;">'''Note:''' There are certain limitations for IB Free Trial accounts from the broker end: Open PnL and account information might be incorrect, open positions might not be received after TWS re-connection.</div>
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 connection to Interactive Brokers Trader WorkStation== '''Enable Active X The following configuration is required to establish connection between MultiCharts platform and Socket Clients''' box should be checked in IB TWS settings
# Click on '''Configure''' in main TWS window.
# Click on '''API''' section. Select '''Settings'''.
# 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.
<div style="background-color: #E3FBE5;">Note: By default both in IB TWS and IB Broker Profile in MultiCharts '''Port (Socket port)''' number is '''7496'''. If more than one IB TWS are going to 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> That is required to add '''127.0.0.1''' to '''Trusted IP Addresses'''. ==Setting up connection to 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 in to into IB Gateway.# Click on '''Configure''' in main TWS Gateway window.
# Click on '''API''' section. Select '''Settings'''.
# Uncheck '''Read-Only API''' box.# 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 '''74967497'''. The ports should be the same.</div> It is recommended to add # 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==
===General Settings section===
'''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.<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===
===Connection Settings section===
'''Disable Disconnect the broker profile (stop auto trading after ) in X seconds on the connection lossafter IB TWS is logged off.'''
In case of the connection loss turns auto-trading off 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===

Navigation menu