
The Ultimate IBKR Trading Journal: Sync & Analyze Your Trades Automatically
Sync your Interactive Brokers account or upload your Flex Query export. TradeBB maps your stocks, options, futures, and forex trades into a structured performance journal so you can see which strategies, instruments, and sessions drive your P&L.
We use imported data only to provide journaling and analytics. Data is encrypted in transit and at rest, with strict access controls. You can disconnect and delete your data anytime.
Read our Privacy PolicyHow to Connect Interactive Brokers
Interactive Brokers uses a highly secure system called "Flex Queries" to share data. Setting up your Interactive Brokers trading journal requires a quick, one-time configuration. Once completed, TradeBB will securely parse your complex options and multi-asset trades automatically.
Follow this step-by-step guide to retrieve your Flex Query ID and Flex Token to complete the integration.
Step 1: Access Flex Queries
- Log in to your account on the official Interactive Brokers website.
- In the top navigation bar, click on Performance & Reports.
- Select Flex Queries from the menu.
Step 2: Create a New Trade Query
- On the Flex Queries tab, locate the Active Flex Queries section.
- Click the + (Plus) icon on the right side to create a new query.
- Name your query: Give it a recognizable name (e.g., "TradeBB Journal").
- Under "Select Sections," choose Trades.


Step 3: Configure Trades Data
- A "Trades" configuration window will pop up.
- Select Executions from the options.
- Check the box for Select All to ensure all necessary data points are captured for your trading journal.
- Scroll to the bottom and click Save.

Pro Tip: Make sure to check Select All under Executions. This ensures TradeBB receives the critical commission and fee data needed to calculate your exact Net PnL
Step 4: Delivery Settings & History
- Format: Under "Delivery Configuration," change the format to CSV and ensure "Include Header/Column Names" is checked.
- Time Period: Set the period to Last 365 Days.
- Click Continue.

Step 5: Finalize and Create
- You will be taken to the "Review Your Activity Flex Query" page.
- Review your settings, scroll to the bottom, and click Create.
- You should see a confirmation message: "Create an Activity Flex Query - Complete."
- Click OK.


Step 6: Get Your Query ID
- Return to the Flex Queries tab.
- Find the query name you just created.
- Click the icon (indicated by the red arrow) next to your query.
- Copy the Query ID.

Step 7: Get Your Flex Token
- On the same page, click on Flex Web Service Configuration.
- Follow the prompt to generate/view your token.
- Copy the Current Token(Flex Token). (Remember, this is the long string).

Important Note: Interactive Brokers often delays new Flex Tokens by up to 24 hours. If your Auto-Sync doesn't pull data immediately, don't worry—this is a broker limitation. For instant access to today's trades, use the File Import method below.
Step 8: Connect to TradeBB

How to Import IBKR Trades
Need to review today's setups immediately? Uploading a CSV is the fastest way to update your Interactive Brokers trading journal. Configure your export settings once, and generate your report anytime.
Follow this guide to configure your export settings and upload your data to TradeBB.
Step 1: Access Flex Queries
- Log in to the Interactive Brokers website.
- Navigate to Performance & Reports > Flex Queries.
- Locate the Trade Confirmation Flex Query section and click the + (Plus) icon.

Step 2: Configure the Query
- Query Name: Enter a name (e.g., TradeBB-Import).
- Under "Select Sections," click on Trade Confirmation.
- In the popup window, select Executions and check Select All.
- Scroll down and click Save.

Step 3: Set Format
- Format: Ensure CSV is selected.
- Date/Time Format: Match the settings shown in the screenshot (standard format recommended).
- Click Continue.

Step 4: Finalize
- Review your settings on the summary page.
- Scroll to the bottom and click Create.
- Once you see the "Complete" status, click Ok.

Step 5:Exporting Your Data
Whenever you want to update your trading journal:
- Go back to the Flex Queries page in IBKR.
- Locate your saved query (TradeBB-Import).
- Click the Run icon (Arrow) next to the query name.
- The CSV file will automatically download to your computer.

Step 6:Upload to TradeBB
- Upload the CSV file you just downloaded from IBKR.
- Done! TradeBB will instantly analyze your new trade data.

Upload the CSV to TradeBB. Our engine will instantly clean the raw data, and generate your updated equity curve.
The performance insights hiding inside your IBKR trade data
Interactive Brokers gives you access to virtually every tradable market on the planet. Stocks, ETFs, options, futures, forex, bonds, funds — all from a single account with some of the lowest commissions in the industry. That breadth is exactly what makes IBKR the platform of choice for serious, multi-asset traders.
But breadth creates complexity. And complexity makes it harder to see what is actually working.
TradeBB takes the trade data IBKR already records and organizes it into the kind of structured performance analysis that answers the questions IBKR's own reporting tools were never designed to answer.
Setup-level performance tracking
Every trader has repeating patterns. Maybe you sell premium on SPY weeklies, buy breakouts on momentum stocks, trade crude oil futures around inventory reports, or run iron condors on high-IV names. TradeBB lets you tag each trade with the setup that triggered it. Over time, the platform calculates win rate, average R-multiple, expectancy, and total P&L for each setup type.
Drawdown and risk management metrics
TradeBB calculates maximum drawdown, profit factor, average winner vs. average loser, consecutive loss streaks, and drawdown recovery time. When you trade multiple asset classes with different volatility profiles and margin requirements, understanding your aggregate drawdown behavior is critical. TradeBB shows you how deep your drawdowns go, how long they last, which asset classes contribute most to drawdown, and which behaviors trigger them.
Options strategy analysis
IBKR supports a full range of multi-leg option strategies — verticals, iron condors, strangles, calendars, butterflies, and more. 4 5 6 TradeBB lets you tag and group these strategies so you can compare performance across strategy types. See whether your credit spreads outperform your debit spreads, whether your iron condors on indices produce better risk-adjusted returns than single-name strangles, and whether your directional plays beat your premium-selling strategies over time.
InteractiveBrokers FAQ
Can I track multiple accounts in my Interactive Brokers trading journal?
Yes. We automatically map the ClientAccountID from your IBKR data to keep your sub-accounts distinct. You can analyze your entire master portfolio at a glance, or filter down to a single account's performance to isolate your trading edge.
How much historical data can I import from Interactive Brokers?
Due to Interactive Brokers' Flex Query reporting limits, you can import up to the last 365 days of your trade history per report. Within that 1-year window, whether you have 100 recent setups or 10,000 active executions, our system accurately parses all the raw data to build your comprehensive trading journal.
Is my IBKR Flex Token and data connection secure?
Absolutely. Flex Queries only grant strictly Read-Only access. We can never execute trades, modify orders, or access your funds. Your data is encrypted at rest and in transit, giving you complete peace of mind while reviewing your setups.
