summaryrefslogtreecommitdiff
path: root/test/baseline/opt-unrealized-gains.test
blob: a171a1bd928d7f2e58953a4b756187435f3d4df4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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

test bal -V --unrealized --unrealized-gains G
             $100.00  Assets
             $300.00    Brokerage
            $-200.00    Checking
            $-100.00  G
--------------------
                   0
end test