Import your broker's history into a portfolio tracker
Last updated . Written by Divisio Capital. Broker help pages checked on 15 November 2026.
To bring your history into a portfolio tracker, download your broker's transactions as a CSV file and import it. Divisio reads the files of Freetrade, Hargreaves Lansdown, interactive investor, AJ Bell, Vanguard and Interactive Brokers as they come, and other brokers' files, or any spreadsheet, by their column headings.
Each guide below gives that broker's own steps where its help pages describe them, the columns Divisio reads, and the problems that come up. You can look round the demo first, with two example portfolios and no sign-up.
Guides by broker
| Broker | The file Divisio reads |
|---|---|
| Freetrade | The Activity feed CSV from the app, with the free share, stamp duty and FX fees. |
| Hargreaves Lansdown | The transaction history, the holdings list or the account summary. |
| interactive investor | The transaction history, with Date, Symbol, Sedol, Quantity, Price, Debit and Credit. |
| AJ Bell | The transaction history, with Date, Description, Transaction, Quantity and Price. |
| Vanguard Investor | The Investment Transactions table and the Cash Transactions table. |
| Interactive Brokers | A Flex query or an Activity Statement, saved as CSV. |
Any other broker, or a spreadsheet
A file from another broker, or a spreadsheet of your own saved as CSV, is read by its headings. It needs a column of tickers or names, such as Ticker or Name. These are read when they are there:
- the number of shares, the price, and the currency (GBX means pence);
- the date bought;
- a Buy or Sell column, so each row is a trade, or, without one, one holding a row;
- a sale price and a sale date, for a holding you have sold.
A row with no price takes that day's closing price, and the preview says so. A holding with no date is given today's date, and the preview asks you to change it if you know it.
How the import works
- Sign in and open Portfolio. Use one portfolio for each account, and set its account type (general account, Stocks and Shares ISA, SIPP, Lifetime ISA or Junior ISA) from the portfolio menu.
- Press Import CSV, then Choose CSV files. You can also drop the files on the box, or paste the rows.
- Divisio finds the format from the headings and shows a preview: each holding, the listing it found, and each trade's price checked against that day's low and high (a fund priced once a day against its prices on the days around it). Nothing is saved yet.
- Check anything the preview marks, then press Import. The save is all or nothing: if it fails part-way, nothing is kept.
The file's text goes to Divisio's server to be read. What is saved is the holdings, sales and cash lines you import, not the file itself.
Sales, dividends, cash and currencies
- Sales. Each sale is matched with the shares bought before it, and sells them whole or in part. A sale of more shares than the file buys sells those the portfolio already holds; with none, the preview says so and leaves the extra out. The capital gains tax page explains how sales are then matched in HMRC's order for tax.
- Cash. When the file has deposits, withdrawals, dividends, interest or fees with their amounts, the preview offers Bring the file's cash into this portfolio, ticked. Each becomes an entry in the portfolio's cash on its own date, each buy is paid from that cash and each sale adds what it brought in. Untick it and nothing moves in cash.
- Stamp duty and fees. Where a broker lists them for a trade, or the trade's total is more than its shares at their price, they are kept with the trade as its costs.
- Currencies. A London price in pence is turned into pounds before it is used. A US share keeps its price in dollars, and your totals are shown in pounds at the exchange rate, or in dollars or euros if you prefer.
Several files, or a long history
Up to 12 files can be chosen together, such as one a year, so a sale is matched with the buys before it. A trade or cash line that is in two of those files, of overlapping periods, is read once; a file imported later is not checked against them that way. One file can have up to 20,000 rows, and the import takes up to 900 KB at a time; for more, export a shorter period and import each part. A buy or sale that is in the portfolio already is marked in the preview, but it is not left out by itself: leave that stock out, and untick the cash box if the file's cash came in before, so the same file imported twice is not counted twice.
What it does not do
- It does not log in to these brokers. Holdings come in from the files you download, or the ones you type in.
- It does not hold your money or place trades; your shares stay with your broker.
- It does not count what you pay into an ISA against the yearly allowance. The ISA allowance guide explains how to keep track of that.
Divisio Capital is not affiliated with or endorsed by any of the brokers named on this page. Each guide links that broker's own help pages, with the date they were read.
Questions people ask
Which file types can I import?
CSV files. A broker's file that comes as an Excel workbook can be opened and saved as CSV first. You can also paste rows from a spreadsheet.
Can I import from more than one broker?
Yes. Import each broker's file into the portfolio for that account. The page on tracking shares from several brokers shows how the accounts fit together.
Is anything saved before I press Import?
No. The preview shows every holding, sale and cash line first, and nothing is saved until you press Import.
What if my broker is not listed?
Import its file anyway: Divisio reads any CSV with a column of tickers or names, and the shares, prices, dates and currencies when it has them.
Is this financial advice?
No. These pages explain how to move your own records into a tracker. They never say what to buy or sell.
To try it with your own file, create an account. It’s free while in beta, and no card is asked for.
See your own shares this way
Add what you own, from any broker, in a couple of minutes. Every feature is free during the beta, and no card is asked for. Or look round the demo first: two example portfolios, no sign-up.
For informational purposes only, not financial or tax advice. Tax rules depend on your own circumstances and can change; GOV.UK has the rules in full. Prices from Yahoo Finance, which can be delayed, usually by 15 minutes and on some exchanges by more.