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
- 1Log in to xStationOpen XTB’s xStation web platform — the export is there, not in the mobile app.
- 2Open Account HistoryFrom the account menu choose “Account History” (Cash Operations / statements).
- 3Set the full date rangeFrom your account opening date to today, so every operation and dividend is included.
- 4Export to ExcelUse the export button and choose Excel — it downloads as an .xlsx with Cash Operations, Open & Closed positions.
- 5Drop it hereUpload 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.