Changes the calculation method.

Calculation methods:

Example table with 3 trades:

#DateTypeAmountPrice/UnitTotal Cost
A1 Jan.Buy1 BTC$1000$1000
B1 Feb.Buy2 BTC$1200$2400
C1 Mar.Buy3 BTC$700$2100

Results depending on the method:

  • FIFO - First-In First-Out: A (1 Jan.), B (1. Feb.), (1. Mar)
  • LIFO - Last-In First-Out: C(1. Mar), B (1. Feb.), A (1 Jan.)
  • HIFO - Highest-Cost First-Out: B ($2400), C ($2100), A ($1000)
  • LOFO - Lowest-Cost First-Out: A ($1000), C ($2100), B ($2400)
  • HPFO - Highest-Price First-Out: B ($1200), A ($1000), C ($700)
  • LPFO - Lowest-Price First-Out: C ($700), A ($1000), B ($1200)
  • HAFO - Highest-Amount First-Out: C (3 BTC), B (2 BTC), A (1 BTC)
  • LAFO - Lowest-Amount First-Out: A (1 BTC), B (2 BTC), C (3 BTC)
  • OPTI - OPTI - Optimized Calculation (specific identification): The OPTI method tries to optimize the resulting profit/loss by using specific identification and leveraging the fact that long-term trades have reduced tax rate or are even tax-free.
  • ZERO - ZERO - PnL as close as possible to 0 (specific identification): The ZERO method tries to achieve a profit/loss as close as possible to 0 (or slightly negative) by using specific identification for all transactions.
  • ACB - Adjusted Cost Base: The ACB method determines the cost of an investment for tax purposes and is required by the Canada Revenue Agency for income tax purposes on Schedule 3.
  • AVCO - Average Cost: The AVCO method determines the value of ending inventory and cost of sales on the basis of average cost of assets available for sale.
  • HMRC - Her Majesty Revenue and Customs: This calculation works according to UK tax rules for individuals including 1 and 30 day pools and remaining assets with an average cost base:
    1) Calculation of acquired assets on the same day (even if the disposal took place before the acquisition)
    2) Calculation of acquired assets within 30 days of selling
    3) Calculation of all remaining assets within an average cost base