mirror of
https://github.com/MarkusZoppelt/portfolio_rs.git
synced 2026-11-22 12:22:56 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
For a position without a ticker that is not cash, `Amount` is its value. Without purchases quantity_dec() still returned `Amount`, so a watch worth 250 was reported as 250 units: in the balances table, in get_positions, get_context and /api/context, and in new snapshots. The balances table also showed its price as 0.00. quantity_dec() is now 1 for such a holding; get_amount() keeps returning the data-format amount, and valuation still uses `Amount`. The balances column is renamed from Amount to Quantity, and a manual holding shows "-" as its price. Older snapshots that stored `Amount` as the quantity give the same get_performance results: without purchases there are no transactions to price. |
||
| .. | ||
| allocation.snap | ||
| holdings.snap | ||
| performance.snap | ||