ledger/test/regress/647D5DB9.test
John Wiegley 3a926da4cb When --end is used, set a "terminus" date
This means that final balance valuations (with -V or -X) will be done in
terms of the date given to --end, rather than based on the current day.

Fixes 647D5DB9-DBBB-47C8-80CE-F3F70E3B0253
2009-06-16 18:49:27 +01:00

17 lines
341 B
Text

bal --end 2008/12/31 -JV bal Equities
<<<
2008/01/01 * Purchase Apple shares
Equities 1000 AAPL @ $2
Cash
2008/06/30 * Sell some Apple shares
Equities -500 AAPL @ $2.5
Cash
P 2008/10/01 02:18:02 AAPL $3
P 2009/01/31 02:18:02 AAPL $4
P 3000/01/01 02:18:02 APPL $100
>>>1
2008-12-31 1500
>>>2
=== 0