Interactive Brokers: Difference between revisions
From MultiCharts
→To set up connection in Interactive Brokers Gateway:
Line 20: | Line 20: | ||
# 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 Interactive Brokers Gateway== | ||
'''IB API''' should be selected when | |||
# Click on '''Configure''' in main | '''IB API''' option should be selected when logging into IB Gateway. | ||
# Click on '''Configure''' in main Gateway window. | |||
# Click on '''API''' section. Select '''Settings'''. | # Click on '''API''' section. Select '''Settings'''. | ||
<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''' | # 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 '''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. | |||
==To set up Interactive Brokers data feed connection:== | ==To set up Interactive Brokers data feed connection:== |