Installing and configuring the IB Gateway terminal
Last updated
Last updated
To connect to the exchange through the TSLab trading platform using the Interactive Brokers data provider, you need to install the latest version of the IB Gateway terminal on your computer. You can download the latest version of IB Gateway from the link:
After the installation is complete, launch the IB Gateway program. Enter the Username and Password from your Interactive Brokers account.
When the IB Gateway application is launched, open the program settings. To do this, select the menu item Configure -> Settings
In the window that opens, select the menu item API -> Settings.
Set the IB Gateway terminal settings according to the screenshot below. Pay attention to the items highlighted in red.
Note! You can choose the values of the fields Socket port, Master API client ID at your discretion. The values of these fields must match the values specified in the settings of the IB data provider in TSLab.
Note! The IB account number is indicated in the upper left corner of the settings window.
Save the settings by clicking the Apply button. Close the settings window.
When working with the Interactive Brokers data provider in TSLab, the IB Gateway must be running and connected to the IB data servers.