I can say that automatic insertion of Trading Account splits in a posting
mostly comes handy.
If, in a currency exchange transaction/posting, you add cost in one of the
currency, the trading account would only include the remaining amount and the
balance would be correct.
Let me try to write some pseudo code but note that I'm on tablet so it will be
minimalistic.
2019/04/20 Buying some dollars
Assets:Cash (EUR) -100 EUR
Expenses:Commission 5 EUR
Assets:Cash (USD) 80 USD
Currency:EUR 95 EUR
Currency:USD -80 USD
This should account for the commission and keep an accurate track of the
gains/loss with currencies?
--
---
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].
For more options, visit https://groups.google.com/d/optout.