LUSID supports numerous tax lot accounting methods. See a full list.
By default, a holding in a portfolio is not divided into tax lots. Instead, LUSID calculates an average cost from all transactions that contribute to an increase in that holding (that is, buys and short sells). This average cost is then used as a basis to calculate realised gain/loss for transactions that contribute to a decrease in the holding.
The default accounting method for a portfolio is therefore AverageCost. You have the option to set this explicitly when you create a portfolio. If you do not set the portfolio’s accountingMethod field explicitly, then LUSID sets it to Default automatically, which has the same effect as AverageCost.
Note the following:
An accounting method set for a portfolio applies to all transactions loaded into that portfolio unless overridden at a more granular level for a transaction type, custodian account or individual transaction. More information.
You can replace (or partially replace) the liquidation methodology of the incumbent accounting method by adding the
Transaction/default/PriorityLotssystem property to a transaction in order to dispose of particular tax lots as a priority.
For a detailed exploration of tax lots, examine this Jupyter Notebook.
Comparing the AverageCost and FirstInFirstOut accounting methods
Imagine we have a portfolio containing a single holding in an Equity instrument generated from the following four transactions:
Date | Transaction type | Units | Price | Cost/proceeds |
|---|---|---|---|---|
Mon 2 Dec 2024 |
| 10 | 10 | 100 |
Tues 3 Dec 2024 |
| 10 | 11 | 110 |
Wed 4 Dec 2024 |
| 10 | 12 | 120 |
Thur 5 Dec 2024 |
| 15 | 13 | 195 |
|
|
|---|---|
Holdings on Wed 4 Dec 2024 (before the | |
A single holding with 30 units is generated. The average cost is £330 / 30 = £11 per unit:
| The holding is divided into three tax lots providing By tax lots is enabled, reflecting the different purchase dates and prices:
|
Holdings on Thur 4 Dec 2024 (after the | |
15 units are liquidated at £11 per unit:
| The first tax lot of 10 units (the oldest) is liquidated at £10 per unit, and 5 units of the second tax lot at £11 per unit:
|
Realised gain/loss on the | |
The realised gain is £195 (proceeds) - £165 (cost) = £30: | The realised gain is £40:
|
Supported tax lot accounting methods
Method | Explanation |
|---|---|
| This is the default. A holding is not divided into tax lots. Instead, LUSID calculates an average cost from all transactions that contribute to an increase in that holding. |
| The oldest tax lots are liquidated first. |
| The newest tax lots are liquidated first. |
| Tax lots with the highest cost (in either local or portfolio currency) are liquidated first. |
| Tax lots with the lowest cost (in either local or portfolio currency) are liquidated first. |
| Tax lots opened on the same day are liquidated first (oldest within the day first), then first in first out (that is, the oldest tax lots are liquidated first). |
| Long term lots are those held for 365 days or more; short term lots are those held for less than 365 days. Long term tax lots with the highest cost (in either local or portfolio currency) are liquidated first. Once exhausted, short term lots with the highest cost (in either local or portfolio currency) are liquidated first. |
| Tax lots are liquidated in the following order:
Within these groups, highest cost first applies, and then first in first out. Assessed using either local or portfolio currency. |
| Units are removed from tax lots on a proportional basis, assessed on the tax lot units portion of total units. |
| Units are removed from tax lots on a proportional basis, assessed on the tax lot cost portion of total cost (in either local or portfolio currency). |
.png?sv=2022-11-02&spr=https&st=2025-11-01T20%3A36%3A38Z&se=2025-11-01T20%3A49%3A38Z&sr=c&sp=r&sig=ELudzsqa8jkYbALtzhqATHjaRuf21dYF4rfLs5aEjRc%3D)
.png?sv=2022-11-02&spr=https&st=2025-11-01T20%3A36%3A38Z&se=2025-11-01T20%3A49%3A38Z&sr=c&sp=r&sig=ELudzsqa8jkYbALtzhqATHjaRuf21dYF4rfLs5aEjRc%3D)
.png?sv=2022-11-02&spr=https&st=2025-11-01T20%3A36%3A38Z&se=2025-11-01T20%3A49%3A38Z&sr=c&sp=r&sig=ELudzsqa8jkYbALtzhqATHjaRuf21dYF4rfLs5aEjRc%3D)
.png?sv=2022-11-02&spr=https&st=2025-11-01T20%3A36%3A38Z&se=2025-11-01T20%3A49%3A38Z&sr=c&sp=r&sig=ELudzsqa8jkYbALtzhqATHjaRuf21dYF4rfLs5aEjRc%3D)
.png?sv=2022-11-02&spr=https&st=2025-11-01T20%3A36%3A38Z&se=2025-11-01T20%3A49%3A38Z&sr=c&sp=r&sig=ELudzsqa8jkYbALtzhqATHjaRuf21dYF4rfLs5aEjRc%3D)
.png?sv=2022-11-02&spr=https&st=2025-11-01T20%3A36%3A38Z&se=2025-11-01T20%3A49%3A38Z&sr=c&sp=r&sig=ELudzsqa8jkYbALtzhqATHjaRuf21dYF4rfLs5aEjRc%3D)