ledger/test/baseline/opt-unrealized-gains.test
Aristid Breitkreuz a3338a2a67 Added baseline tests for unrealized options
This includes another baseline test for --unrealized, and also new ones
for --unrealized-gains and --unrealized-losses.
2009-11-25 04:50:36 -05:00

20 lines
454 B
Text

bal -V --unrealized --unrealized-gains G
<<<
2008/10/01 Sample
Assets:Brokerage 10 AAPL
Assets:Checking $-200.00
P 2008/10/20 12:00:00 AAPL $30.00
; 2008/10/20 <Generated Transaction>
; Assets:Brokerage $100
; Equity:Unrealized Gains
>>>1
$100.00 Assets
$300.00 Brokerage
$-200.00 Checking
$-100.00 G
--------------------
0
>>>2
=== 0