2
2011-01-01 * Opening balance
4
Equity:Opening balance -25.00 GBP
6
2011-02-01 * Buy 1 AAA for 10.00 GBP
7
Assets:Investments 1 AAA {10.00 GBP}
10
2011-03-07 * Sell one AAA with a gain
12
Assets:Investments -1 AAA {10.00 GBP} @@ 12.00 GBP
13
Income:Capital gains -2.00 GBP
15
2011-04-01 * Buy 1 BBB for 15.00 GBP
16
Assets:Investments 1 BBB {15.00 GBP}
17
Assets:Cash -15.00 GBP
19
test bal -B Assets:Investments -p "until 2011-02-20"
20
10.00 GBP Assets:Investments
23
test bal -B Assets:Investments -p "until 2011-03-20"
26
test bal -B Assets:Investments -p "until 2011-04-20"
27
15.00 GBP Assets:Investments
30
test bal Assets:Investments -p "until 2011-02-20"
31
1 AAA Assets:Investments
34
test bal Assets:Investments -p "until 2011-03-20"
37
test bal Assets:Investments -p "until 2011-04-20"
38
1 BBB Assets:Investments