Import IBKR Flex Query CSV
Import your Interactive Brokers trade history into the Tapeboard journal with an IBKR Flex Query CSV — or connect your Flex token once and let server-side auto-sync pull new fills every weekday evening.
Interactive Brokers has no retail REST API for trade history, so your history comes in two ways: a one-off Flex Query CSV export, or a connected auto-sync that pulls new fills for you nightly.
Option A — Connect auto-sync (recommended)
Set it once; the server syncs for you every weekday evening (22:15/22:30 UTC), deduped against everything already in your journal.
- Journal →
[ IMPORT / SYNC ]. - In the "connect a broker" section, use the IBKR FLEX card: paste your Flex Web Service token and the query ID of a Flex Query containing the fields below.
- Done — sync runs on the server. The card shows the last sync time and any error.
Your token is encrypted at rest (AES-GCM-256); disconnecting deletes it.
Option B — One-off CSV export
- In IBKR Client Portal, go to Performance & Reports → Flex Queries and create a Trade Confirmation (or Activity) query with at least:
Symbol,AssetClass,CurrencyPrimary,TradeDate,DateTime,Quantity,Price,IBCommission,Buy/Sell. For options, also addUnderlyingSymbol,Put/Call,Strike,Expiry. - Run it → Export → CSV.
- In Tapeboard: Journal →
[ IMPORT / SYNC ]→ UPLOAD CSV FILE. The IBKR layout is auto-detected. (Same picker also reads Schwab, Fidelity, Webull, Robinhood, DAS, Sterling, TradeStation, and tastytrade exports; unrecognized formats get a column-mapping wizard instead of an error.)
What gets imported
- Equities + options. Stock rows pair into round-trip trades (scaled entries/exits handled); option rows pair per contract with the 100× multiplier. Futures and non-USD rows are skipped.
- Commissions, prices, and times come straight from the Flex export.
- Duplicate-safe. Every row is fingerprinted; re-importing the same file (or a sync overlapping a CSV you already imported) skips duplicates.
- Columns are matched by name, not position — template reorders are fine.
Tip
Set a stop-loss on imported trades in the journal editor to unlock R-multiple and SQN stats — broker exports don't carry stops.