Skip to content

How to export a CSV from XTB

Export your full transaction history from the XTB app, including every currency account you hold, and import it into Oitava.

Export your cash operations report

Export your transaction history from the XTB app, covering every currency account you hold.

  1. 1

    Open your account menu

    In the XTB app, tap the profile icon in the top-left corner.

    Step 1
  2. 2

    Open All operations history

    Scroll down and tap All operations history.

    Step 2
  3. 3

    Switch to Cash operations and export

    Tap the Cash operations tab, then tap the download icon in the top-right corner.

    Step 3
  4. 4

    Start a new report

    Tap New report.

    Step 4
  5. 5

    Select the full date range and every account

    Set the date range to All to cover your full history. Under Accounts, tick every account listed, not just the one shown by default. XTB gives each currency (EUR, USD, etc.) its own separate account, and if you only tick one, transactions in the others won't be in the export. Then tap Generate report.

    Step 5
  6. 6

    Download and import

    Tap Download report. If you ticked more than one account, XTB downloads a separate file for each, for example one for your EUR account and one for your USD account. We recommend importing each file into its own portfolio in Oitava (for example XTB EUR and XTB USD) so FIFO lots stay separate per account. The note below explains why.

    Step 6
Note: XTB gives each currency (EUR, USD, etc.) its own account, and lets you open extra accounts too, for example one per family member. Each account you tick comes as its own file. New deposits always land in your first account, and money you move to the others shows up in XTB as a transfer. Oitava imports each transfer as a withdrawal from the account it left and a deposit into the account it reached, including transfers that convert currency. One portfolio per XTB account (recommended): create a portfolio for each account (for example XTB EUR and XTB USD) and import each file into its own portfolio. Each portfolio keeps its own holdings, cash, and FIFO lot queue, so capital gains taxes and trade analysis match each XTB account separately. Your first account will show a withdrawal every time you move money to another account, and the receiving portfolio shows it as a deposit. Your returns are not affected, and the All Portfolios view adds them back together while keeping FIFO isolated per account. One portfolio for all your XTB accounts: you can import every file into the same XTB portfolio for a single view of your XTB holdings with cash kept per currency, where internal transfers cancel out. However, because FIFO runs per portfolio, trading the same stock across two XTB accounts will merge their buy lots into one shared FIFO queue and can change your calculated capital gains and taxes. Either way, tick every account in the Accounts list before generating the report. If you leave one out, money moved into it will look like it left XTB.

Ready to import?

Create a free account and import your XTB portfolio in minutes.

Create a free account