crypto_accounting__realized_gain_fifo
Calculate realized gain on crypto asset sales using FIFO method by inputting acquisition lots, units sold, and sale price.
Instructions
[crypto-accounting] lots: (units, unit_cost) in acquisition order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lots | Yes | ||
| sale_price | Yes | ||
| units_sold | Yes |