Sign Up
INTERACTIVE BROKERS TRADING JOURNAL

An Interactive Brokers Trading Journal That Imports Through Flex Queries

Create an Activity Flex Query and a Flex Web Service token in IBKR, paste them into Connections, and your closed stock, futures, options and forex trades import into the journal every day. A Flex token can only download reports, so it cannot trade or move money. Updated 26 October 2026

Connections are on Elite (A$29/mo). CSV import works on every plan.

How the Interactive Brokers Connection Works

Open Connections, find the Interactive Brokers card, and follow the short steps on the card. Nothing has to be running on your side once it is connected, so it works from your phone and does not need a VPS, a laptop left on or an Expert Advisor.

  • Create a Flex Query. In the IBKR Client Portal open Performance & Reports, then Flex Queries, and create an Activity Flex Query with the Trades section at Execution level. Choose XML, UTC and the last 365 days.
  • Create a token. In Flex Web Service Configuration turn the service on and generate a token with the longest expiry. Note the expiry date.
  • Paste them in Connections. Choose Interactive Brokers, paste the token and the Query ID, add the expiry date if you want a reminder, then pick the account and start date. Do this once per IBKR account.
  • Sync. Your history imports in a few moments, then new trades sync once a day after IBKR finishes its overnight statement. Sync now pulls the latest available.
Connections page with the Interactive Brokers card, showing the read-only key notice
The Connections page in The Trading Terminal.
Sample data

Read-Only, Checked Twice

A Flex token can only download reports, so there is no permission to set. It is read-only by design.

  • The token only downloads the reports you defined in the query.
  • Only IBKR-hosted report addresses are ever followed.
  • Every request is a read. The Trading Terminal never places, changes or closes an order and never moves funds.
  • Credentials are stored encrypted, are never shown again and are deleted when you disconnect.

What Gets Imported

Only closed trades are imported. Individual fills are grouped into round trips, so a position built up over several orders becomes one trade in the journal. A Flex Query covers up to 365 days, so a first sync can go back that far.

FieldHow it is filled
Symbol and directionStocks, futures, options and forex; long or short; options show expiry, strike and put or call
QuantityFilled quantity, with contract multipliers applied for futures and options
Entry and exit priceQuantity-weighted average of the opening and closing executions
Open and close timeFirst opening execution and last closing execution, stored in your own timezone
CommissionIBKR commission included in the net result
Net P&LGross result minus commission, in the trade currency

Everything else, such as setup, confluences, mistakes, emotion, grade, notes and screenshots, you add in the journal. Synced trades never overwrite your notes, grade or tags, and syncing the same trade twice never creates a duplicate.

What It Does Not Do

  • It does not place, modify or close trades, and it does not move funds or change broker settings.
  • Open positions, until they close.
  • Trades from today until IBKR finishes its overnight statement.
  • More than 365 days of history in one query, which is the longest a Flex Query covers.
  • For other platforms see the cTrader trading journal, MT5 trading journal and MT4 trading journal pages, or import a CSV.

What You Can Analyse Once Trades Are In

Synced trades feed the same analytics as any other trade: trading analytics such as Trader DNA, the Edge Score and Mistake Cost Analysis, and Risk Desk for daily loss limit and drawdown tracking from your closed trades. Pair it with the crypto trading journal guide for how to journal a market that never closes.

FAQ
Common questions
Is an IBKR Flex token safe to share with The Trading Terminal?
A Flex token can only download the reports you set up in the query. It cannot place trades, change the account or move money. It is stored encrypted, is never shown again and is deleted when you disconnect. You can also revoke it in IBKR.
Why are today's Interactive Brokers trades not showing yet?
Flex Queries are built from IBKR's overnight statement, so trades appear after the statement runs. Sync now only pulls what IBKR has already published.
How far back can it import Interactive Brokers trades?
Up to 365 days, which is the longest period a Flex Query covers. Imported trades stay in your journal.
Do I need a separate query for each IBKR account?
Yes. Each account has its own query and token, so connect each one separately. You can map each to its own Trading Terminal account.
Which plan includes the Interactive Brokers connection?
Connections are part of Elite (A$29/mo or A$249/yr). There is a one-time 7-day Elite trial that needs a card. Pro and Basic do not include Connections, but you can import trades by CSV on any plan.
EXPLORE
Related pages
Binance trading journal → Bybit trading journal → OKX trading journal → Bitget trading journal → cTrader trading journal → Crypto trading journal → All features → Pricing →

Import your closed trades

Start Journaling
CSV import works on every plan

Screenshots on this page are from the app running on sample data, not real trading results.