Adding Transactions
Transactions are the foundation of your portfolio in Metrifly. Every BUY, SELL, and DIVIDEND you record feeds into your holdings, performance analytics, and tax reports. This guide covers how to add transactions manually. For bulk imports, see CSV Import.
Transaction Types
| Type | What It Records | Effect on Holdings |
|---|---|---|
| BUY | Purchasing shares of a stock or asset | Creates or adds to a holding; increases your position |
| SELL | Selling shares you own | Reduces your position; calculates realised gain/loss |
| DIVIDEND | Receiving a cash dividend payment | Records income for the holding; no change to share count |
Adding a Transaction
- Navigate to your portfolio page.
- Click Add Transaction (or the + button in the holdings table).
- Select the Transaction Type (BUY, SELL, or DIVIDEND).
- Fill in the required and optional fields (see below).
- Click Save.
Field Reference
Required Fields
| Field | Description | Example |
|---|---|---|
| Type | BUY, SELL, or DIVIDEND | BUY |
| Ticker | The stock's ticker symbol | CBA, AAPL, MSFT |
| Exchange | The stock exchange where the asset is listed | ASX, NYSE, NASDAQ, LSE |
| Date | The date the transaction occurred | 2024-03-15 |
| Quantity | Number of shares (BUY/SELL) or shares entitled (DIVIDEND) | 100 |
| Price | Price per share at the time of transaction | 105.50 |
Optional Fields
| Field | Description | When to Use |
|---|---|---|
| Fee | Brokerage or transaction fee | Always, if your broker charges fees (included in cost basis) |
| Currency | Currency of the transaction | When trading in a currency different from your portfolio default |
| Exchange Rate | Manual FX rate override | When you know the exact rate and do not want auto-conversion |
| Amount | Total transaction value | Auto-calculated from Quantity x Price; override if needed |
| Franking Credits | Imputation credits (Australian dividends) | For Australian dividend transactions with franking |
| Notes | Personal notes about the trade | "Bought on earnings dip", "Stop-loss triggered" |
| Broker | The broker used for this trade | "CommSec", "Interactive Brokers" |
| Asset Name | Human-readable name for the asset | "Commonwealth Bank of Australia" |
BUY Transaction Example
Recording a purchase of 50 shares of Commonwealth Bank (CBA) on the ASX:
- Type: BUY
- Ticker: CBA
- Exchange: ASX
- Date: 2024-06-15
- Quantity: 50
- Price: 115.20
- Fee: 9.95
- Click Save
Result: Metrifly creates (or updates) a CBA holding with 50 shares at a cost basis of $5,769.95 ($5,760.00 + $9.95 fee).
SELL Transaction Example
Selling 25 of your CBA shares:
- Type: SELL
- Ticker: CBA
- Exchange: ASX
- Date: 2025-01-10
- Quantity: 25
- Price: 120.50
- Fee: 9.95
- Click Save
Result: Metrifly calculates the realised gain based on your portfolio's allocation method (e.g., FIFO). The holding quantity drops from 50 to 25.
If you sell all shares of a holding, Metrifly automatically closes the holding. It will reopen if you buy the same ticker again later.
DIVIDEND Transaction Example
Recording a dividend payment:
- Type: DIVIDEND
- Ticker: CBA
- Exchange: ASX
- Date: 2024-09-15
- Quantity: 50 (shares held at ex-dividend date)
- Price: 2.15 (dividend per share)
- Franking Credits: 46.07 (if applicable)
- Click Save
Result: Metrifly records $107.50 in dividend income for CBA with $46.07 in franking credits for your Income Report.
You do not always need to add dividend transactions manually. Metrifly automatically detects dividends for your holdings and prompts you to confirm them. Manual entry is useful for dividends that are not automatically detected.
Multi-Currency Transactions
If you buy shares in a currency different from your portfolio's default:
- Enter the transaction in the trade currency (e.g., USD for a US stock).
- Metrifly automatically fetches the exchange rate for the transaction date.
- Your cost basis and portfolio value are displayed in your portfolio currency (e.g., AUD).
To override the automatic exchange rate:
- Expand the Currency section on the transaction form.
- Enter your preferred Exchange Rate.
Troubleshooting
| Problem | Solution |
|---|---|
| Ticker not found | Ensure you have selected the correct exchange. Try the full ticker (e.g., "BHP" on ASX, not just "BHP"). |
| "Insufficient shares" on SELL | You are trying to sell more shares than you own. Check your holding quantity. |
| Wrong cost basis showing | Verify transaction dates and quantities. Cost basis includes fees. Check your allocation method. |
| Exchange rate looks wrong | The auto-fetched rate uses the mid-market rate on the transaction date. You can override it with a manual rate. |
Related Guides
- Editing and Deleting Transactions
- CSV Import -- Bulk import transactions from your broker
- Understanding Holdings -- How transactions create and update holdings