mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
add an example of Ledger's cap gains calculation during balancing
This commit is contained in:
parent
4195a55287
commit
c51245652f
6
examples/investment-gains-balancing.journal
Normal file
6
examples/investment-gains-balancing.journal
Normal file
@ -0,0 +1,6 @@
|
||||
; Ledger expects the 5 EUR capital gain income here because selling a 10 EUR lot at 15 EUR.
|
||||
; hledger does not. Must leave that amount implicit to allow both to parse this.
|
||||
2019-03-01 Sell
|
||||
Assets:Shares -1 ETF {10 EUR} @ 15 EUR
|
||||
Assets:Cash 15 EUR
|
||||
Income:Capital Gains ;-5 EUR
|
Loading…
Reference in New Issue
Block a user