Help Centre
Getting Started

How to Import Trades from Interactive Brokers

Complete guide to connecting your Interactive Brokers account for automatic trade synchronization.

Interactive Brokers (IBKR) offers robust API access for seamless trade synchronization. This guide covers both manual CSV import and automatic API connection.

Method 1: Manual CSV Import

Exporting from Client Portal

1Log into Client Portal at clientportal.interactivebrokers.com
2Navigate to ReportsFlex Queries
3Create a new Flex Query or use an existing template
4Include these fields:
Trade Date/Time
Symbol
Buy/Sell
Quantity
Price
Commission
Net Amount
5Set your date range and click Run
6Download as CSV

Importing the CSV

1In Practice—Process, go to SettingsImport/Export
2Click Import Trades
3Select Interactive Brokers as your broker
4Upload your CSV file
5Review and confirm the import

Method 2: Automatic API Sync (Recommended)

Prerequisites

Active Interactive Brokers account
Practice—Process Pro subscription
IBKR Web API enabled

Step 1: Enable API Access in IBKR

1Log into Client Portal
2Go to SettingsAPI Settings
3Click Enable API access
4Note your API credentials

Step 2: Connect in Practice—Process

1Navigate to SettingsBroker Connections
2Click Add BrokerInteractive Brokers
3Choose your connection method:

OAuth (Recommended)

Click Connect with Interactive Brokers
You'll be redirected to IBKR's secure login
Approve read-only access
Return to Practice—Process automatically

API Key

Enter your API key from IBKR settings
Click Verify Connection
Wait for confirmation

Step 3: Configure Sync Settings

Choose your preferences:

Sync Frequency: Real-time, hourly, or daily
Trade Types: All trades or filter by asset class
Historical Import: Import up to 2 years of history

Handling Multiple Accounts

If you have multiple IBKR accounts:

1Each account needs separate authorization
2You can assign accounts to different strategies
3Trades are tracked separately but can be combined in reports

Security Notes

We use read-only access - we can never place trades or access funds
All connections use TLS 1.3 encryption
You can revoke access at any time from IBKR or Practice—Process
API credentials are encrypted at rest

Troubleshooting

"Connection Failed"

Verify API is enabled in IBKR Client Portal
Check you're using the correct account type (live vs paper)
Ensure your IP isn't blocked by IBKR security settings

"Authentication Expired"

IBKR tokens expire after 24 hours
Re-authenticate from Settings → Broker Connections

"Missing Trades"

Allow up to 5 minutes for real-time sync
Verify the trades are closed (open positions don't sync)
Check your filter settings in Practice—Process