Quantower
Quantower Website
  • Welcome to Quantower Help
  • 🚀Getting Started
    • What's new
    • Installation
    • First start
    • Platform update
    • Quantower Beta
    • Quantower Account
    • Quantower Licenses
    • ⚖️License Comparison
    • Backup & restore manager
    • Reset settings to default
    • Payment FAQ
    • “Coinpayments” payment
    • Binance fresh account
    • Referral Program
    • You have found a bug. What’s next?
  • ⚙️General Settings
    • Quantower Main Toolbar
    • Workspaces
    • Single Panel
    • Link panels
    • Binds
    • Group of panels
    • Templates
    • Set as Default
    • Symbols lookup
    • Table management
    • Alerts
    • General settings
    • Custom hotkeys
    • Setup Actions & Advanced filters
    • 📢Notifications center
  • 🔗Connections
    • Connections manager
    • Connection to Binance Futures
      • Errors with Binance connection
    • Connection to CQG (AMP Futures)
      • Errors with CQG
    • Connection to OANDA
    • Connection to FXCM
    • Connection to cTrader
      • How to connect to FxPro via Quantower
      • How to connect to Pepperstone via Quantower
      • How to connect to IC Markets via Quantower
    • Connection to Rithmic
      • Rithmic Issues
    • Connection to Topstep
    • Connection to Interactive Brokers
      • Errors with Interactive Brokers
    • Connection to Bybit
    • Connection to OKEx
    • Connection to MetaStock
    • Connection to IQFeed
  • 💡Analytics Panels
    • Chart
      • Chart Overview
      • Chart Types
        • Tick Bars
        • Time aggregation
        • Renko
        • Heiken Ashi
        • Kagi
        • Points & Figures
        • Range bars
        • Line break
        • Volume Bars
        • Reversal Bars
      • Chart Settings
        • View settings
        • Data Style
        • Time Scale
        • Price Scale
        • Visual Trading
          • Positions
        • Order Entry
        • Quick Ruler
        • Info Window
        • Volume Bars
        • Hotkeys
      • Chart overlays
      • Technical indicators
        • Channels
          • Range Marker
          • Donchian Channel
          • High Low Indicator
          • Round Numbers
          • Highest High
          • Lowest Low
          • Bollinger Bands
          • Bollinger Bands Flat
          • Price Channel
          • Fair Value Gap (FVG)
          • Keltner Channel
          • Moving Average Envelope
        • Moving averages
          • Demand Index
          • Exponential Moving Average
          • FYL Indicator
          • Linearly Weighted Moving Average
          • McGinley Dynamic Indicator
          • Modified Moving Average Indicator
          • Pivot Point Moving Average Indicator
          • Regression Line Indicator
          • Simple Moving Average Indicator
          • Smoothed Moving Average Indicator
          • Guppy Multiple Moving Average Indicator
          • Trend Breakout System Indicator
          • Triple Exponential Moving Average Indicator
        • Oscillators
          • Delta Divergence Reversal
          • Aroon Indicator
          • Moving Average Convergence/Divergence
          • Awesome Oscillator
          • Accelerator Oscillator
          • %R Larry Williams
          • Momentum
          • Rate of Change
          • Relative Strength Index (RSI) Indicator
          • Relative Spread Strength (RSS)
          • Balance of Power (BOP)
          • Commodity Channel Index
        • Trend
          • Bionic Candle
          • Average Directional Movement Index (ADX) Indicator
          • Ichimoku Cloud Indicator
          • Directional Movement Index (DMI) Indicator
          • ZigZag
        • Volatility
          • Average True Range
          • Standard deviation
        • Volume
          • COT High/Low
          • Depth of Bid / Ask
          • Delta Flow
          • Delta Rotation
          • Level2 indicator
          • Abnormal Volume
          • Abnormal Trades
          • Volume Impulse
      • Drawing tools
      • Volume Analysis Tools | Volume Profiles | Footprint chart | VWAP
        • Cluster chart
        • Volume profiles
        • Time statistics
        • Time histogram
        • Historical Time & Sales
      • Power Trades
      • VWAP | Volume Weighted Average Price
      • Anchored VWAP
    • Watchlist
    • Time & Sales
    • Price Statistic
    • DOM Surface
    • Option Analytics
    • TPO Profile Chart
  • 💵Trading Panels
    • Chart Trading
    • Crypto Order Entry
    • Multiple Order Entry
    • Order Entry
      • Order entry for Bybit
      • Order Entry for CQG
      • Order Types
      • Order placing strategies
        • Local SL/TP
    • DOM Trader
      • DOM Trader Settings
        • View Settings
        • DOM Trader Columns
        • Order Entry
        • VWAP Settings
        • Positions Bar
        • Hotkeys
      • DOM Trader Columns
      • How to set up Dom for scalping
    • Copy Trading
    • Market depth
    • Trading simulator
    • Market Replay
    • FX Cell
    • Backtest & Optimize
    • Strategies manager
  • 💼Portfolio Panels
    • Positions
    • Working Orders
    • Trades
    • Orders History
    • Synthetic Symbols
    • Historical Symbols
  • 📊Information Panels
    • Account performance
    • Account info
    • Crypto balances
    • Symbol Info
    • Currencies Exposure
    • Event Log
    • RSS (News panel)
    • Reports
  • 📌Miscellaneous
    • Futures Rollover
    • History Exporter
    • Symbol Mapping Manager
    • Sessions manager
    • Live Support
    • Market Heat map
    • Stat matrix
    • Exchange times
    • Quote Board
    • Browser
    • Excel and RTD function
      • Changing RTD Throttle Interval in Excel
    • Quantower Telegram Bot
    • 🎨Themes editor
  • 🤖Quantower Algo
    • Introduction
    • Install for Visual Studio 2022
    • Strategies manager
    • Backtest & Optimize
    • Debugging in VS 2022
    • Simple Indicator
    • Simple strategy
    • Input Parameters
    • Built-In indicators access
    • Custom indicators access
    • Level2 data
    • Access Volume analysis data from indicators
    • Indicator with custom painting (GDI)
    • Access Chart from indicator
    • Using markers with indicators
    • Using Clouds in Indicator
    • Adding a custom indicator to Watchlist
    • Downloading history
    • Access to trading portfolio
    • Trading operations
    • Example: Simple Moving Average
    • Access to crypto account and balances
    • Access to advanced aggregations
    • Access to symbol/account additional fields
    • Strategy runner (deprecated)
  • 💫Customization
    • Localization
  • ⁉️FAQ
    • General Errors
Powered by GitBook
On this page
  • Data Limitations
  • Necessary steps for a successful connection to Quantower
  • How to connect to Interactive Brokers using TWS platform
  • How to connect to Interactive Brokers using IB Gateway
  • Problems during the connection to Interactive Brokers
  • Trader Workstation is not running
  • How to subscribe to IB Market Data
  1. Connections

Connection to Interactive Brokers

Follow the steps in this guide to connect the Quantower platform to the Interactive Brokers. The manual contains a detailed description, which will allow you to correctly configure the connection.

Last updated 1 year ago

Data Limitations

Interactive Brokers places the following limitations on real-time and historical data accessible to 3rd party applications

  • Pacing Violations – TWS limits the number of requests for data. If too many requests for data occur in a short period of time, you may see error messages indicating “Pacing Violation”. If this happens you may need to wait a few minutes before trying to load data again.

  • Real-Time Quotes – TWS does impose limits on the number of active tickers (typically around 100). Additional booster packs can be purchased from IB to work around this issue: .

  • Delayed Data Not Supported – TWS does not provide access to delayed historical data and quotes.

For more details on these limitations see .

  • IB does not currently offer full depth market data for futures.

  • Market data updates are not frequent; therefore, we do not recommend using IB data (instead we recommend using dxFeed or Iqfeed as market data provider).

Necessary steps for a successful connection to Quantower

This guide will help you to configure the connection to the Interactive Brokers and start working on Quantower platform.

The difference between IB Gateway and TWS is that IB Gateway has a lighter and less sophisticated graphical user interface (GUI) than TWS.

How to connect to Interactive Brokers using TWS platform

  • Launch TWS and enter your Username and Password into it, that you received from the broker and click on Log In button.

  • Once you are logged in, open the additional settings in TWS: Configure. Select API section - > Settings and check to Enable ActiveX and Socket Clients box as well uncheck Read-Only API

  • Select API section - > Precautions and activate all checkboxes.

  • Next, check that the TWS platform is selected in the connection settings in the Quantower platform.

How to connect to Interactive Brokers using IB Gateway

  • Launch IB Gateway and enter your Username and Password into it, that you received from the broker and click on Log In button.

For IB Gateway in the API Type section select IB API only!

  • Once you are logged in, open the additional settings in IB Gateway: Configure-> Settings. Select API section - > Precautions and activate all checkboxes.

Also necessary in the Settings section deactivate the Read-Only API to perform trading operations.

  • Next, check that the IB Gateway is selected in the connection settings in the Quantower platform.

Problems during the connection to Interactive Brokers

  • Wrong Connection Parameters

  • Trader Workstation is not running

  • The Price Does Not Conform to the minimum price variation for this contract (FOREX symbols)

There may be some problems during the connection to Interactive Brokers, for example, Wrong Connection Parameters

In this case, you need to check the connection settings in our platform and in the TWS platform (or IB Gateway). In our platform, go to the Connection Settings.

Select the application through which you are connecting — TWS platform or IB Gateway.

If the problem persists even after choosing the right application, you need to configure the Socket port in TWS (or IB Gateway) and Quantower.

Select the Custom connection port type in the Connection settings of Quantower and set the Port Value

Trader Workstation is not running

Connection to Interactive Brokers is made through their TWS trading platform or the IB Gateway application. To successfully connect to IB you need to run their applications.

3. The Price Does Not Conform to the minimum price variation for this contract (FOREX symbols)

By default, placing orders on Forex pairs in IB is carried out at prices equal to 1/2 pip. Like on the screenshot below:

If you place orders in Quantower at prices between those specified, for example 1.19382, you will get a message: The Price Does Not Conform to the minimum price variation for this contract (FOREX symbols).

To solve this problem and to be able to place orders at any desired prices, you need to activate the setting in the TWS platform (or in IB Gateway)

How to subscribe to IB Market Data

Requests for trading permissions and market data subscriptions are submitted through Account Management on the IB website.

If market data is not subscribed, you will see error messages similar to the following:

To subscribe to Market data with IB, please go to the Account Management section. Open the TWS platform and from the main TWS screen by clicking the Account menu at the top of the screen and then selecting Account Management Home.

This will open the Account Management page without requiring that the account username / password be re-entered.

After this is done, restart Trader Workstation platform. Quantower will establish a new connection and you should then receive market data.

and install Quantower trading platform (if you haven’t it yet) of an appropriate version (32 bit or 64 bit), and make sure that your PC complies with the

To connect to IB, you need to have (or create) a or by clicking the appropriate links on the Interactive Brokers official website.

Download and install IB Software — or on their website.

Click on the CONNECT button and the platform should connect correctly. If you have some errors during connection, please check (below) or contact our support team via Live chat on our , via email info@quantower.com.

Click on the CONNECT button and the platform should connect correctly. If you have some errors during connection, please check (below) or contact our support team via Live chat on our , via email info@quantower.com.

If you have any other problems during the connection to Interactive Brokers, please contact us in support and we will help you.

At the bottom of the Account Management page, you can find the link to the . Click on the Gear icon to customize your subscription to the necessary market data.

🔗
demo
real account
TWS (Trader Workstation)
IB Gateway
https://www.quantower.com/contact-us
Market Data Subscriptions
Booster Packs
IB Data Limitations
Data Limitations
Necessary steps for successful connection to Quantower
How to connect to Interactive Brokers using TWS platform
How to connect to Interactive Brokers using IB Gateway
Problems during the connection to Interactive Brokers
How to subscribe to IB market data
website
the most common errors
website
the most common errors
Download
Video connection guide to Interactive Brokers
minimum requirements
Download Trader Workstation (TWS) or IB Gateway
Diactivate Read-Only API and check Socket Clients in TWS platform
Select API type and enter Login and password for IB Gateway
Activate all checkboxes in the IB Gateway API settings
Check connection settings and Click on the Connect button once you are logged in to IB Gateway
Wrong parameteres during connection to Interactive Brokers
Connection settings in Quantower for Interactive Brokers
Select the necessary connection port type
This Socket port in TWS (or IB gateway) should be the same as in Quantower
Trader Workstation is not running. Please launch it to connect to IB