Skip to content

How to export your trades from Interactive Brokers

In this article, we provide a step-by-step guide on how to export your trades from Interactive Brokers.

  1. Sign in to the Interactive Brokers
    IBKR export trades 1

  2. Click Performance & Reports and Flex Queries on the top menu
    IBKR export trades 2

  3. Click "+" icon under Activity Flex Query
    IBKR export trades 3

  4. Enter a name of the query (e.g. Portseido Transactions)
    IBKR export trades 4

  5. Select Trades under Sections
    IBKR export trades 5

  6. Tick Execution and SELECT ALL
    IBKR export trades 6

  7. click Save
    IBKR export trades 7

  8. Select Cash Transactions under Sections
    IBKR export trades 8

  9. Tick SELECT ALL
    IBKR export trades 9

  10. click Save
    IBKR export trades 10

  11. Click Continue
    IBKR export trades 11

  12. Review your Activity Flex Query and click Create
    IBKR export trades 12

  13. Activity Flex Query is created. Click OK
    IBKR export trades 13

  14. Run the Activity Flex Query
    IBKR export trades 14

  15. Select your desired period, set format as XML and click Run.

    IMPORTANT: The export function is limited to one year of data per file. You may need to perform multiple exports to obtain data spanning multiple years."

    IBKR export trades 15

  16. Upload the file in the upload box
    IBKR export trades 16

Video Tutorial

One of the most convenient methods to add trades to Portseido is by uploading brokerage statements. Simply follow the steps above to export your trades from your brokerage account. Then, upload them to Portseido, and we will automatically process and add them to your portfolio.