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
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
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).
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.
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.
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.
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
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)
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.