Recording transactions
Learn how to record buy, sell, dividend, and split transactions in your portfolio.
Transaction-based portfolios track every investment activity. This guide covers how to record different types of transactions.
Transaction types
TrackMyShares supports six transaction types:
| Type | Description |
|---|---|
| Buy | Purchase of shares |
| Sell | Sale of shares |
| Dividend | Dividend payment received |
| Split | Stock split that changes share count |
| Transfer in | Shares transferred into your portfolio |
| Transfer out | Shares transferred out of your portfolio |
Adding transactions
There are two ways to add a transaction:
From the portfolio page
The quickest way to record a transaction — no need to find the holding first:
- Open your portfolio
- Click Actions → Add transaction
- Select the transaction type (buy, sell, dividend, etc.)
- Enter the symbol and market (for buy transactions) or select an existing holding (for sell/transfer out)
- Fill in the quantity, price, date, and optional fees or notes
- Click Add transaction
For buy transactions, if the symbol doesn't exist in your portfolio yet, the holding is created automatically.
From a holding's transaction history
You can also add a transaction from within a specific holding:
- Click on the holding in your portfolio
- Select Transactions
- Click Add transaction
- Fill in the details and save
Recording a buy transaction
When you purchase shares:
- Open your portfolio and click Actions → Add transaction
- Select Buy
- Fill in the details:
- Symbol — Stock or crypto ticker
- Market — US, AUS, or Crypto
- Date — When you bought
- Quantity — Number of shares purchased
- Price — Price per share
- Fees (optional) — Brokerage fees paid
- Click Add transaction
If you don't already hold this symbol, a new holding is created automatically.
Example
You buy 50 shares of Apple at $150 on January 15, with a $10 brokerage fee:
- Symbol: AAPL
- Date: January 15, 2024
- Quantity: 50
- Price: $150.00
- Fees: $10.00
Total cost: $7,510 (50 × $150 + $10)
Recording a sell transaction
When you sell shares:
- Click Actions → Add transaction
- Select Sell
- Select the holding you want to sell from the dropdown (only holdings with shares are shown)
- Fill in the details:
- Date — When you sold
- Quantity — Number of shares sold (cannot exceed your current balance)
- Price — Price per share received
- Fees (optional) — Brokerage fees paid
- Click Add transaction
The system automatically:
- Reduces your holding quantity
- Calculates your capital gain/loss using FIFO
- Records the proceeds
Note: You cannot sell more shares than you own on the transaction date.
FIFO explained
FIFO (First In, First Out) means the oldest shares are sold first. This is the standard method for calculating capital gains in most jurisdictions.
Example: You bought Apple in three lots:
- Jan 1: 20 shares at $140
- Mar 1: 30 shares at $150
- May 1: 20 shares at $160
If you sell 25 shares on June 1, FIFO sells:
- 20 shares from the Jan 1 lot ($140 cost)
- 5 shares from the Mar 1 lot ($150 cost)
Your cost basis for the sale: (20 × $140) + (5 × $150) = $3,550
Recording dividend transactions
When you receive a dividend payment:
- Click Actions → Add transaction
- Select Dividend
- Fill in the details:
- Symbol — Stock that paid the dividend
- Date — Payment date (ex-dividend date)
- Amount — Total dividend received
- Click Add transaction
Dividends are tracked separately from capital gains and appear in your dividend summary and reports.
Tip: TrackMyShares shows declared dividends for many stocks. You can quickly record these from the dividend notification.
Recording stock splits
When a stock splits (e.g., 4:1 split):
- Click Actions → Add transaction
- Select Stock split
- Fill in the details:
- Symbol — Stock that split
- Date — Split effective date
- Ratio — Split ratio (e.g., 4:1)
- Click Add transaction
The system automatically:
- Adjusts your share quantity
- Adjusts your cost per share
- Maintains your total cost basis
Split examples
4:1 split (more shares, lower price):
- Before: 100 shares at $400 cost basis
- After: 400 shares at $100 cost basis
- Total value unchanged
1:10 reverse split (fewer shares, higher price):
- Before: 1000 shares at $5 cost basis
- After: 100 shares at $50 cost basis
- Total value unchanged
Transaction history
View all transactions for a holding:
- Click on the holding in your portfolio
- Select the Transactions tab
- See all buy, sell, dividend, and split transactions
You can edit or delete individual transactions from this view.
Warning: Editing historical transactions may affect your calculated gains and cost basis for subsequent transactions.
Best practices
- Record transactions promptly — Don't let them pile up
- Include fees — Brokerage fees affect your cost basis
- Use exact dates — Important for tax calculations
- Keep receipts — Your broker statements should match your records