AlphaPulseAI
All articles

How to export your Interactive Brokers statement: Activity Statement and Flex Query (2026)

· 3 min read

To look at your portfolio from the outside — its concentration, what your ETFs actually hold — you first need a statement from your broker. Interactive Brokers offers two ways to get one: an Activity Statement as CSV, or a Flex Query as XML. Both are free, need no integration, and take about two minutes.

Which one to choose

Activity Statement (CSV) is the simplest. It already contains open positions, cash by currency, trades and dividends. Start here.

Flex Query (XML) lets you choose exactly which sections go into the file, and can be re-run in a few clicks once it is set up — useful once exporting becomes a monthly habit.

Exporting an Activity Statement as CSV

  1. In the Interactive Brokers Client Portal, open Performance & Reports, then Statements.
  2. Choose the Activity statement.
  3. Set the period. Positions are shown as of the end of the period, so for a current picture let it end as close to today as possible.
  4. Choose CSV as the format.
  5. Make sure the Open Positions, Cash Report, Trades and Dividends sections are included. Cash Report is what shows the cash held in each currency — without it, idle cash cannot be measured accurately.
  6. Generate and download the file.

Menu labels in Client Portal change from time to time; if yours differ, look for the reports area and the activity statements within it.

Exporting a Flex Query as XML

Flex Queries are set up in the same reports area of Client Portal. The exact buttons depend on the interface version, so in outline:

  1. Create an Activity Flex Query.
  2. Include Open Positions, Cash Report, Trades and Cash Transactions (dividends arrive in the cash transactions section). Account Information is worth adding too: it carries the account's base currency.
  3. Choose XML as the output format.
  4. Save the query, run it for the period you want, and download the file.

The most common mistake is a missing section: no Open Positions means no positions in the file, and no Cash Report means no cash. AlphaPulse tells you which section is missing, but it is quicker to set the query up completely the first time.

Before you upload

  • Format: .csv for an Activity Statement, .xml for a Flex Query. A PDF statement cannot be read reliably.
  • Size: AlphaPulse accepts files up to 5 MB in the free check and up to 10 MB with an account, which is ample even for years of trades.
  • Period: for your current portfolio, the period should end as close to today as possible.

AlphaPulse never connects to your broker: no login, no trading permissions. The uploaded file is held for at most 10 minutes while it is parsed and then deleted; the parsed data, including the account number printed on the statement, is kept so you can come back to your analysis. The details are in the privacy policy.

About two minutes after uploading you get an A–F portfolio health grade, your allocation looked through your ETFs, concentration measured against fund-aware limits, and concrete next steps. It is analytics on your own portfolio, not investment advice — the decisions stay yours.

Check your portfolio in 2 minutes

Upload your statement and get an A–F portfolio health grade, the risks hiding in your ETFs and concrete next steps. Free, with no access to your broker account.

Check my portfolio free

AlphaPulse AI is a non-custodial analytics tool. It does not hold assets, execute orders or provide personalised investment recommendations. Historical statistics are backward-looking and do not predict future returns. Verify every figure against your broker statement before acting.

Seller: ФОП Кудринский Павло Олегович · Tax ID (ІПН): 3488710336 · Legal and actual address: Україна, 08133, Київська обл., Бучанський р-н, м. Вишневе, вул. Південна, буд. 9, кв. 48 · Phone: +380 93 929 34 31 · Email: support@apulseai.com