Interactive Brokers
Features
Broker Connection
Account Details
Historical Data
Historical Data with Monthly Time Frame
Historical Data with Ticks, Ticks/Range, Contracts, Contracts/Day Time Frame
Historical Data with bar updates directly from the datafeed
Real-Time or delayed data
Real-Time or delayed data level 2
Margins on order preview
Footprint, Imbalance, Heatmap chart styles
Trailing-Stop Orders
Settings on Trader WorkStation (TWS) or Gateway
In the Interactive Brokers TraderWorkStation (TWS) or Gateway software, you need to change some of the settings to be able to connect correctly from MarvelChart.
Open the settings window and choose the API → Settings tab.
In the TWS or Gateway API settings tab, change the following entries:
Name | Type | Value |
---|---|---|
Enable ActiveX and Socket Clients | Required | Enable |
Read-Only API | Required | Disable |
Expose entire trading schedule to API | Suggested | Disable |
Allow connection from localhost only | Suggested | Enable |
Remote connection settings
Only in case you want to make a connection between MarvelChart and TWS/Gateway running on different machines, in the TWS/Gateway settings you need to make additional changes:
enter the IPv4 address of the PC where MarvelChart is running in the list of trusted addresses of TWS/Gateway;
disable the Allow connection from localhost only item;
At the same time, in the MarvelChart settings, you need to select the Manual mode and specify the IPv4 address of the machine where TWS/Gateway is running.