Pip, AI trade agentSoonSuggests or enters, inside your rulesThree steps in TraderFrame, two in IB Gateway, then the Bridge joins them up. About fifteen minutes, done once per account.
Connect +Step 1 of 8 · in TraderFrame
In TraderFrame open Brokers, press + Connect broker, choose Interactive Brokers and press Continue.
Step 2 of 8 · in TraderFrame
Pick Paper or Live and press Get my Bridge token. There is no API key: the Bridge carries this token instead.
Step 3 of 8 · in TraderFrame
Press Copy on Your Bridge token; you paste it in step 6. Then download the TraderFrame Bridge for your computer. Treat the token like a password.
••••••••-••••-••••-••••-••••••••••••CopyStep 4 of 8 · in IB Gateway
Install IB Gateway from Interactive Brokers (the panel links it). Choose IB API and Paper Trading, then Paper Log In. TWS works too; IBKR Desktop doesn’t.

Step 5 of 8 · in IB Gateway
In Gateway open ConfigureSettings, then APISettings. Untick Read-Only API, check Socket port reads 4002 (4001 when you log in live), and press OK. Using TWS instead? Also tick Enable ActiveX and Socket Clients.


Step 6 of 8 · in the Bridge
Open the TraderFrame Bridge (on Windows, run the installer first). Paste your token into Bridge token and press Connect. The Bridge finds Gateway on its own, paper or live.
••••••••-••••-••••-••••-••••••••••••
Step 7 of 8 · in TraderFrame
Back in TraderFrame press I’ve done this. The panel listens for the Bridge, which usually checks in within 20 seconds of starting.
Step 8 of 8 · in the Bridge and TraderFrame
The Bridge shows four lines, and TraderFrame shows the account as connected with its balance. Leave Gateway and the Bridge open while your bots trade.

Step 5 is the one people skip: with Read-Only API ticked, the Bridge connects but every order is refused. Every Gateway and Bridge window here is a real capture, with the login, token and account number masked.
Each is its own connection with its own records, so a practice trade never lands in your live history.
Accounts +Two things about Interactive Brokers that catch people out, and the fix for each.
Fixes +Read-Only API is still ticked in Gateway. Open Configure, Settings, API, Settings, untick Read-Only API and press OK.
IB Gateway asks you to log in again each day. While it is logged out TraderFrame says so and your bots pause; stops already at IBKR stay in place. Log in and the Bridge reconnects.
No. You log in to IB Gateway on your own computer, two-factor included. The Bridge connects out to TraderFrame with your Bridge token.
Yes. IB Gateway and the Bridge run on your computer, so the bot can only trade while both are open and Gateway is logged in.
Index futures in whole contracts (MES, MNQ, ES, NQ, YM and RTY, front month), and calls and puts on US stocks.
IB Gateway or Trader Workstation. IBKR Desktop won’t work: it has no API.
Not on paper: delayed data is fine there. Live futures entries need a CME real-time data subscription in your IBKR account.
Connect your paper account, add a signal, and watch the bot follow your contracts, stop and session before real money moves.