Installing and configuring the Trader Workstation (TWS) 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 TWS terminal on your computer. You can download the latest version of TWS from the link:
For the TWS terminal to work, Java must be installed on your computer. In the latest versions of TWS, the required items are downloaded and installed automatically during the TWS installation.
Once the installation is complete, launch the TWS terminal. Enter the Username and Password from your Interactive Brokers account.
When the TWS application is launched, open the program settings. To do this, select the menu item File -> Global Configuration...
In the window that opens, select the menu item API -> Settings.
Set the TWS terminal settings according to the screenshot below. Pay attention to the items highlighted in red.
Attention! The Master API client ID and IP must match the connection settings in TSLab. If these settings do not match, then tickets placed in TWS will not be displayed in the TSLab program. If you plan to run the TSLab program on the same computer where TWS is running, then select Allow connections from localhost only