uploads
Interactive Brokerscsv
xml
flex
How to Upload Interactive Brokers CSV/XML Files (Flex)
Manually import your Interactive Brokers trades by uploading Flex reports in XML or CSV format.
November 29, 2025
15 views
When to Use Manual Upload
Use manual upload if you:
- Prefer not to use auto-sync
- Need to import historical data
- Want control over what gets imported
Supported File Types
| Format | Extension | Notes |
|---|---|---|
| Flex XML | .xml | Recommended — most complete data |
| Flex CSV | .csv | Standard Flex export format |
Step 1: Download Your Flex Report
- Log in to IBKR Account Management
- Go to Reports → Flex Queries
- Select or create a Trade Confirmation query
- Click Run and select your date range
- Choose format: XML or CSV
- Click Download and save the file
Step 2: Upload to TradeRonin
If You Don't Have an IBKR Account Yet
- Go to Settings → Accounts
- Click "+ Add Account"
- Select "Broker (CSV Upload)"
- Choose Interactive Brokers
- Complete account setup
- Click "Upload CSV" and select your file
If You Already Have an IBKR Account
- Go to Settings → Accounts
- Click on your IBKR account
- Click "Upload CSV"
- Select your file and confirm
What Gets Imported
| Data | Included |
|---|---|
| Stocks | ✅ Yes |
| Options | ✅ Yes |
| Futures | ✅ Yes |
| Forex | ✅ Yes |
| Execution prices & times | ✅ Yes |
| Commissions | ✅ Yes |
| Order/Execution IDs | ✅ Yes |
Required CSV Columns
For CSV uploads, TradeRonin requires:
- Symbol — Ticker symbol
- Date/Time — Execution timestamp
- Quantity — Number of shares/contracts
- T. Price — Trade price
- Buy/Sell — Direction
Optional but recommended:
Comm/Fee,Execution ID,Asset Category,Open/Close Indicator
Deduplication
TradeRonin uses IBKR's Execution ID to prevent duplicates:
- ✅ Safe to re-upload the same file
- ✅ Safe to upload overlapping date ranges
- ✅ Existing trades won't be duplicated
Troubleshooting
"File Format Not Recognized"
- Ensure file extension is
.xmlor.csv - Try downloading a fresh copy from IBKR
"No Trades Found"
- Verify the file contains trade data (not just positions)
- Check that the Flex Query includes the Trades section
"All Trades Skipped"
- These trades are already imported
- TradeRonin prevents duplicate imports automatically
