> On 2025-09-07, John Wiegley wrote:
>> 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…
I just realized... I can demonstrate that this doesn't violate any double-entry
rules.
You can launder commodities through two currencies, e.g.
2025/09/04 * Convert Currency
Assets:Broker 1 APPL @ £100.00
Assets:Bank
2025/09/05 * Convert Currency
Assets:Broker -1 APPL {£100} [2025-09-04] @ $100
Assets:Bank
Now you have $100 dollars with no lot annotation, this will pass all checks.
This is basically just a messier way of doing the workaround I mentioned
earlier.
I don't think this is a bug, it just would be nice to do it without the extra
step :)
Tavis.
--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger [email protected]
_\_V _( ) _( ) @taviso
--
---
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/109itst%2417tj%241%40ciao.gmane.io.