Importing transactions
Learn how to bulk import transactions from a CSV file into your transaction-based portfolio.
If you have many transactions to record, CSV import saves time. This guide explains the transaction CSV format and import process.
CSV format for transactions
Transaction imports require more fields than holdings imports:
Required columns
| Column | Description | Example |
|---|---|---|
| symbol | Stock ticker | AAPL |
| type | Transaction type | buy, sell, dividend |
| date | Transaction date | 2024-01-15 |
| quantity | Number of shares | 50 |
| price | Price per share | 150.00 |
Optional columns
| Column | Description | Example |
|---|---|---|
| fees | Brokerage fees | 9.95 |
| currency | Transaction currency | USD |
| notes | Your notes | Quarterly buy |
Date formats
Supported date formats:
YYYY-MM-DD(recommended): 2024-01-15DD/MM/YYYY: 15/01/2024MM/DD/YYYY: 01/15/2024
Example CSV
symbol,type,date,quantity,price,fees
AAPL,buy,2024-01-15,50,150.00,9.95
MSFT,buy,2024-01-20,25,380.00,9.95
AAPL,buy,2024-02-01,20,155.00,9.95
AAPL,dividend,2024-02-15,0,0.24,0
MSFT,sell,2024-03-01,10,400.00,9.95
Transaction types
Use these values for the type column:
buy— Share purchasesell— Share saledividend— Dividend receivedsplit— Stock split (use ratio in price field)
Dividend transactions
For dividends, use:
quantity: Number of shares at ex-dividend date (or 0)price: Dividend per share (or 0 if using total)
Alternatively, put the total dividend amount in a total column.
Split transactions
For stock splits:
quantity: Your shares before the splitprice: Split ratio (e.g., 4 for a 4:1 split)
Importing your file
- Ensure your portfolio is transaction-based (not cost basis)
- Click Import > Import transactions
- Upload your CSV file
- Review the parsed transactions
- Fix any errors shown in red
- Click Import transactions
Preview and validation
The preview shows:
- Date — When the transaction occurred
- Type — Buy, sell, dividend, or split
- Symbol — Stock ticker
- Details — Quantity, price, fees
- Status — Valid, warning, or error
Fix any errors before importing. Common issues:
- Invalid dates
- Unknown symbols
- Selling more than owned
- Missing required fields
Importing from brokers
CommSec
- Go to Activity > Trade confirmations
- Export to CSV
- Adjust columns to match our format
Stake
- Account > Statements
- Download transaction history
- Format: date, symbol, type, quantity, price
Interactive Brokers
- Reports > Activity
- Select Trades
- Export as CSV
- May need to split into buys and sells
Note: Each broker exports differently. You may need to use a spreadsheet to reformat before importing.
After importing
Review your imported transactions:
- Check the transaction history for each holding
- Verify your cost basis looks correct
- Confirm quantities match your broker statement
If something looks wrong, you can edit or delete individual transactions.
Handling duplicates
If you import transactions that already exist:
- Exact duplicates — Skipped automatically
- Similar transactions — Flagged for review
To avoid duplicates, only import new transactions not already in your portfolio.