← Brokers

Interactive Brokers

Global

readyStatement fileRead-only APIFormats: CSV

How to create the read-only key

  1. Client Portal → Performance & Reports → Flex Queries → create an Activity Flex Query (+ button).
  2. Include the sections Account Information, Trades, Cash Transactions (dividends, withholding, deposits and withdrawals, interest, fees), Corporate Actions, Transfers, Open Positions and Cash Report. CSV format. The query period can be anything: Asterholm fetches your full history, year by year, automatically.
  3. In Flex Queries → Flex Web Service Configuration enable the service and generate the Token (pick the longest validity, e.g. 1 year; no IP restriction or the server IP).
  4. Copy the Token and your query's Query ID, paste them here and press "Test connection".

Read-only. The Flex Web Service is a REPORTING service: that token cannot trade or withdraw.

The first sync brings your WHOLE history, year by year since you opened the account (it can take several minutes: IBKR allows 10 queries per minute). After that, only what is new, every night.

TokenQuery ID

Statement export guide

  1. Go to Client Portal → Performance & Reports → Flex Queries.
  2. Create an Activity Flex Query with: Trades, Cash Transactions, Dividends, Withholding Tax, Open Positions, Deposits & Withdrawals, Fees. CSV format, period "Last 365 Days".
  3. Run the query, download the CSV and upload it here (one file per year if you want more history). By API, Asterholm brings the whole history automatically.

If the columns are not recognised, you map them once and we remember.

Read-only by design: Asterholm can only look: it never buys, sells or moves your money.