DeepChart connects to Interactive Brokers (IB) using the Trader Workstation (TWS) API. To establish a successful connection, Trader Workstation must be properly configured and kept running while DeepChart is in use.
⚠️ Important:
Interactive Brokers data is aggregated, so it is not suitable for order-flow tools. IB should be used only for trade execution, while charts must be built using a separate dxFeed or Rithmic data feed.
Download Trader Workstation (TWS) from the official Interactive Brokers website.
Log in using your Interactive Brokers account credentials.
Keep TWS open during the entire setup process.
In Trader Workstation, go to:
Edit → Global Configuration → API → Settings
Enable API access and configure the settings exactly as shown in the reference images, including:
Enable ActiveX and Socket Clients
Uncheck the option:
“Allow connections from localhost only”
Click Create and add the IP address:
127.0.0.1
After adding the IP:
Re-check “Allow connections from localhost only”
Click Apply
Click Yes, then OK
✅ Your TWS API settings are now configured.
🚨 Trader Workstation must remain open
If TWS is closed, DeepChart will not be able to connect to Interactive Brokers.
Open DeepChart
Go to Feed Settings
Enter a name for the feed
DeepChart will automatically populate the required settings.
✔️ Verify that the settings match the reference image.
Click Save
After saving:
You will see Interactive Brokers in your feed list
Connect the IB feed
⚠️ Critical Step (Very Important)
You must also connect a separate market data feed:
dxFeed or
Rithmic
Interactive Brokers provides aggregated market data, which:
Cannot build accurate order-flow tools
Cannot be used for footprint, delta, or volume analysis
📌 IB is used only for trade execution, not chart construction.
Go to:
Options → Symbol Manager
Set Exchange Data Feed to:
dxFeed or
Rithmic
This ensures charts are built from high-quality tick data
Open a chart
In the Trading Panel:
Select Interactive Brokers as the broker
Select your IB trading account
Execute trades normally
Charts will be built from dxFeed or Rithmic, while orders will be sent through Interactive Brokers.
| Component | Purpose |
|---|---|
| Trader Workstation (TWS) | Required for IB API connection |
| Interactive Brokers feed | Trade execution only |
| dxFeed / Rithmic | Chart & order-flow data |
| TWS running | Mandatory for connection |