Hi,
I'm trying to understand why sorting by amount doesn't seem to work right
when using multiple currencies and --market:
ledger -f ledger.ledger --price-db prices.db -Y -V -c --period-sort
'(amount)' -b "2023" register ^expenses
...
Expenses:Blah1 $7225.12 $22613.89
Expenses:Blah2 $10888.14 $33502.03
Expenses:Blah3 $9.29 $33511.32
Expenses:Blah4 $47.30 $33558.62
...
ledger -f ledger.ledger --price-db prices.db -Y -c --period-sort '(amount)'
-b "2023" register ^expenses
Expenses:Blah1 $7225.12 $22580.11
30.00 CHF
Expenses:Blah2 $10888.14 $33468.25
30.00 CHF
Expenses:Blah3 8.25 CHF $33468.25
38.25 CHF
Expenses:Blah4 42.00 CHF $33468.25
80.25 CHF
It seems to be sorting the currencies separately regardless of using
--market. Is there a way to sort by the converted market value?
Thanks,
Viraj.
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/8e986f6c-b4cc-48bf-962e-c35a921aa6e7n%40googlegroups.com.