Stocks, options, futures and forex from IBKR, in one trading journal
Set up one Flex Query in Interactive Brokers, paste its ID and token into TradeBB, and your trades keep arriving on their own — stocks, options, futures and forex, with commissions counted and every currency totaled into one.

How it connects
One Flex Query, one token, done
Interactive Brokers doesn't hand out account logins to third parties. It hands out a Flex Query — a report you define once — and a token that lets TradeBB fetch it. That's the whole connection, and it's read-only by design.
In Client Portal:
- Open Performance & Reports → Flex Queries and create a new Activity Flex Query — name it something like
TradeBB - Under Trades, choose Executions and select all fields
- Set the format to CSV, include header row, and set the period to the last 365 days
- Save the query and copy its Query ID
- Still under Flex Queries, open Flex Web Service Configuration and generate a token
In TradeBB:
- Open Import Trades → Add broker account, choose Interactive Brokers, and paste the Query ID and token
- Read-only — a Flex token can fetch reports; it cannot place, modify or close a trade
- Nothing to install — no TWS plugin, no gateway running on your machine
- Every asset class in one query — stocks, options, futures and forex come through the same report
- New tokens can take a day — IBKR sometimes delays them; if the first sync comes back empty, check again tomorrow
Query ID and token copied? Connect Interactive Brokers →

Upload instead
Prefer files? Two IBKR exports work
Two IBKR exports work: the CSV your Flex Query produces when you run it by hand, and the Transaction History CSV from Performance & Reports → Transaction History. Upload either under Import Trades.
- One file per year — a Flex Query covers 365 days at most; run one per year and upload them oldest first
- No cleanup — TradeBB reads the file as IBKR produces it
- Same account — uploads land in the same IBKR account as the sync, so history and new trades sit together
What comes through
Every market IBKR trades, in one currency
An IBKR account is usually several markets and several currencies at once. TradeBB imports each trade in the currency it was executed in, applies the contract size for futures and options, counts IBKR's commissions on each execution, and converts profit into the one currency you set — so your account total is a number, not a list.
- Stocks, options, futures, forex — from the same Flex Query
- Contract size respected — futures and options priced by multiplier, not per unit
- Commissions on every execution — IBKR's per-trade charges come through with the trade
- One global currency — set it in settings before your first import; every total converts into it
After it's in
IBKR next to every other account you trade
- By symbol, strategy, tag and account — net P&L, win rate and count for each
- A calendar of results — one view across every market you trade, trades underneath
- Notes on any trade — one template, the same questions every time
- Side by side with other brokers — IBKR is one account; add the others and compare
IBKR's Activity Statement tells you what happened, to the cent. The TradeBB trading journal is where you find out what it was worth.
FAQ
Frequently asked questions
Does TradeBB sync with Interactive Brokers automatically?
Yes. Create a Flex Query in Client Portal, paste its ID and a Flex Web Service token into TradeBB, and your trades keep arriving. Each account shows a Last Update time; it isn't a tick-by-tick feed.
Is it safe to give TradeBB a Flex token?
A Flex token only lets a program fetch the reports you've defined. It can't log in to your account, place trades or move money. You can revoke it in Client Portal at any time.
My sync isn't pulling anything yet.
IBKR sometimes takes up to a day to activate a new token. Check that the query runs in Client Portal, then try again tomorrow.
How far back does an Interactive Brokers Flex Query go?
A Flex Query covers up to 365 days. For older history, run one query per year, download the CSV, and upload each file.
Doesn't TWS already have a Traders Journal?
It does — a notes tool inside Trader Workstation. It records what you write; it doesn't total your performance by symbol, strategy or tag, or count commissions and currencies across your account. Many IBKR traders use both.
Does TradeBB handle multi-currency IBKR accounts?
Yes. Trades import in the currency IBKR reports them in, and profit converts into the global currency you set, so totals are consistent across the account.
Are options and futures handled?
Yes. Both come through with contract size applied, so P&L reflects the position rather than the per-unit price. If you trade mostly futures, see the futures trading journal.
Can TradeBB place trades in my IBKR account?
No. TradeBB records and analyzes trades you've already made. It doesn't provide trade execution, investment advice or trading signals.