Interactive Brokers: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
|||
Line 1: | Line 1: | ||
To connect MultiCharts to Interactive Brokers (IB) data feed, it is necessary to have IB software installed and launched on the computer. | |||
<br> | |||
When the connection is set up correctly, MultiCharts brings up IB software automatically when data is requested. IB has 2 applications that can be used for connection MultiCharts to IB: | |||
# IB Trader Workstation. (requires 1 logout per 24 hours) | # IB Trader Workstation. (requires 1 logout per 24 hours) | ||
# IB Gateway. | # IB Gateway. | ||
<br> | |||
Though there is choice between web-based and standalone version, standalone version is recommended to use. | |||
<br> | |||
To download IB Trader Workstation and IB Gateway, follow this link: http://individuals.interactivebrokers.com/en/control/systemstandalone.php?os=win&ib_entity=llc | |||
==To set up connection in Interactive Brokers Trader WorkStation:== | ==To set up connection in Interactive Brokers Trader WorkStation:== | ||
Enable Active X and Socket Clients box should be checked in IB TWS settings: | |||
# 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'''. | ||
Line 12: | Line 15: | ||
# It is recommended to add '''127.0.0.1''' to '''Trusted IP Addresses'''. | # It is recommended to add '''127.0.0.1''' to '''Trusted IP Addresses'''. | ||
==To set up connection in Interactive Brokers Gateway:== | ==To set up connection in Interactive Brokers Gateway:== | ||
'''IB API''' should be selected when one logins to IB Gateway. | |||
# 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'''. | ||
Line 38: | Line 41: | ||
::* '''Generate a new tick if total volume changes'''.<br>Turn on this function if you need total volume for the session. By default it is turned off. When turn on, the Trade Tick Volume = current TotalVolume – previous TotalVolume. This option also helps to avoid spikes coming from IB API in real-time feed. | ::* '''Generate a new tick if total volume changes'''.<br>Turn on this function if you need total volume for the session. By default it is turned off. When turn on, the Trade Tick Volume = current TotalVolume – previous TotalVolume. This option also helps to avoid spikes coming from IB API in real-time feed. | ||
:* Click the '''Reset''' button to restore default settings. | :* Click the '''Reset''' button to restore default settings. | ||
<br> | |||
To add an instrument manually or from data source, see [[Data_Sources_Overview#Adding_Symbol.28s.29_to_Symbol_List|Adding Symbol(s) to Symbol List]]. | |||
[[Category:Built-in Data Sources]] | [[Category:Built-in Data Sources]] |