XTB

A portfolio tracker for your XTB account

XTB’s account history holds everything that happened to your money — it simply is not shaped like a portfolio. Export it and Miw turns it into holdings, a real return, a dividend record and a tax report.

Import your statementNo account needed. The file is read in your browser and stays there.

What you get

  • Your real returnTime-weighted, counting dividends, fees and currency moves — not the number on the broker’s front page.
  • Dividends, paid and forecastWhat you were paid, what was withheld and in which country, and what the next twelve months look like at today’s rates.
  • A tax report already worked outRealized gains by year, FIFO-matched, with dividends and withholding by country. Portugal also gets Anexo G and Anexo J line items.
  • Several brokers, one portfolioImport DEGIRO, XTB and Trading 212 together and they merge — the same share held in two places becomes one position.

How to export your XTB statement

  1. 1
    Log in to xStation
    Open XTB’s xStation web platform — the export is there, not in the mobile app.
  2. 2
    Open Account History
    From the account menu choose “Account History” (Cash Operations / statements).
  3. 3
    Set the full date range
    From your account opening date to today, so every operation and dividend is included.
  4. 4
    Export to Excel
    Use the export button and choose Excel — it downloads as an .xlsx with Cash Operations, Open & Closed positions.
  5. 5
    Drop it here
    Upload that .xlsx. Re-import anytime — new operations merge with what’s saved.

Questions

Which XTB file do I need?
The Account History from xStation, exported to Excel (.xlsx), covering everything since the account was opened. Miw reads the workbook directly, so there is no need to convert it to CSV first.
Is my data uploaded anywhere?
No. The file is read in your browser and stays in that browser’s storage. There is no account to create and no server holding your positions. The only outbound requests ask for share prices by ticker, and never say whose portfolio is asking.
Can I combine XTB with another broker?
Yes. Import an XTB workbook alongside a DEGIRO or Trading 212 statement and the holdings merge, so the same share held in two places becomes one position with one cost basis.

The Portuguese tax report

If you are taxed in Portugal, the statement you just exported already holds everything the IRS annexes need. Miw arranges it into the lines each one asks for.

Other brokers

Import your statement