blob: 7f183b5ffef547aff2f6be6df528983221cb7c9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
2011-01-01 * Opening balance
Assets:Cash 10.00 GBP
Equity:Opening balance -10.00 GBP
2011-02-01 * Buy 1 AAA for 10.00 GBP
Assets:Investments 1 AAA {10.00 GBP}
Assets:Cash -10.00 GBP
2011-12-07 * Sell AAA with a gain
Assets:Cash 12.00 GBP
Assets:Investments -1 AAA {10.00 GBP} @@ 12.00 GBP
Income:Capital gains -2.00 GBP
test bal
12.00 GBP Assets:Cash
-10.00 GBP Equity:Opening balance
-2.00 GBP Income:Capital gains
--------------------
0
end test
|