Installation

View as MarkdownOpen in Claude
1

Create and fund an IBKR Pro Account

An IBKR Pro account is required to use the TWS API. If you don’t already have one, creat an account below.

Create Account

3

Download the TWS API

Ensure that the API installs to the C: drive.

Download TWS API

4

Configure Trader Workstation Settings

  1. Launch TWS

  2. Log in

  3. Open settings (gear icon in top right)

  4. Configure the following:

  • Enable “ActiveX and Socket Clients”
  • Disable “Read-Only API”
  • Verify the “Socket Port” value

Additional configuration options are detailed here.

5

Additional configuration for Python

If you are using the TWS API with Python, additional configuration is required. Follow the steps found here.