>>>>> "TO" == Tavis Ormandy <[email protected]> writes:
TO> $ ledger --file test.ldg bal --lots ^Assets:Bank
TO> $-5.00
TO> $135.00 {£0.74074074} [04-Sep-2025] Assets:Bank
Hmm… interesting question. Parts of the idea behind --lots is that you can use
--lot-notes if you only want the notes, or --lot-dates, etc. If you don’t care
about lot data, you shouldn’t need to see it. It IS, however, a fact that you
exchanged assets at a cost basis, which could have tax implications, etc. So
Ledger just tracks all the data, and leaves it up to you to craft the report
you want.
Mainly lots are being recorded so that when you convert back, it can
auto-generate a capital gain/loss transaction for you. But if you *never* want
that, I’m not quite sure what Ledger should do. This is the most basic form of
“I don’t track costs”:
2025/09/04 * Convert Currency
Assets:Bank £100.00
Assets:Bank -$135.00
But it sounds like what you want is for one quantity to “transform” into the
other, without recording the details of the transformation. The main problem
here is that this will allow assets to “come into being from the aether” if
the value of pounds goes up and you transfer back to the tune of $145… This is
never allowed by double-entry, and would need a balancing transaction from
Equity to be lawful, hence the hledger approach…
John
--
---
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 visit
https://groups.google.com/d/msgid/ledger-cli/m24itf3tbk.fsf%40hera.localnet.