hledger/hledger/test/ledger-compat/baseline/opt-average-lot-prices.test
Simon Michael caffb22320 ;dev: cli: a snapshot of ledger's baseline functional tests' data
;dev: cli: ledger tests: comment out all but the sample data
2022-12-18 01:33:04 -10:00

19 lines
497 B
Plaintext

2019-01-01 * Opening balance
Assets:Investments 1000.00 EUR
Equity:Opening balance -1000.00 EUR
2019-03-01 * Bought FOO
Assets:Investments 2 FOO @ 150.00 EUR
Assets:Investments -300.00 EUR
2019-06-01 * Bought FOO
Assets:Investments 1 FOO @ 180.00 EUR
Assets:Investments -180.00 EUR
comment
test bal assets:investments --average-lot-prices
520.00 EUR
3 FOO {160.00 EUR} Assets:Investments
end test