Windows Setup
Use this once on a new Windows computer before you sign into IBKR through ToR.
1. Install IBKR Client Portal Gateway
Download the official IBKR Client Portal Gateway zip from IBKR. If you want an easier Windows flow, also download the ToR install helper script from the ToR downloads page.
2. Install Or Start The IBKR Gateway
Run the ToR PowerShell helper after the IBKR zip finishes downloading. It installs the gateway into a stable folder, creates a launcher, and can open https://localhost:5000 for you.
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\\Downloads\\Install-IBKR-ClientPortalGateway.ps1"
Inside the Windows ToR desktop app, the Open Client Portal Gateway button now does the guided flow too: it checks for Java first, opens a Java download if needed, waits for the user to confirm Java is installed, then looks for the downloaded IBKR zip and installs the gateway automatically. If the user already manually unzipped the IBKR gateway, ToR can search common folders like Downloads and start it from there too.
3. Download ToR Connector Files
Download the ToR files onto your PC and open the connector folder.
git clone https://github.com/smokiedbest/Tor.git
cd Tor\\connector
4. Install Connector Dependencies
npm install
5. Trust The Local Certificate
Run the trust step in Windows so your browser recognizes ToR Connector.
6. Start The Connector
npm start
Leave ToR Connector running while you use ToR.
7. Sign Into IBKR
Open IBKR Client Portal Gateway in your browser, sign into your IBKR paper session, then return to ToR.
8. Verify Setup In ToR
Back in ToR, click Check My Setup. Once both apps are ready, continue to the gateway step.
Important: per IBKR's documentation, the gateway launch can be scripted, but the actual brokerage login still has to be completed manually in the browser.