TAG 0.1.1.9
[darcs-mirror-hledger-irr.git] / fixed-investment.ledger
1 2009-01-01 Initial saving into a fixed-rate investment (10%)
2   FixedInvestment  €100.00
3   Cash
4   
5 2010-01-01 First interest
6   FixedInvestment  €10.00
7   Interest
8
9 2011-01-01 Second interest
10   FixedInvestment  €11.00
11   Interest
12
13 2011-01-01 Partial withdrawal
14   FixedInvestment  -€71.00
15   Cash
16
17 2012-01-01 Third interest
18   FixedInvestment  €5.00
19   Interest
20
21 ; $ hledger-interest -f test.ledger  -t Interest -i FixedInvestment -c -b 2009 -e 2012
22 ; 2009/01/01: €-100.00
23 ; 2011/01/01: €71.00
24 ; 2012/01/01: €55.00
25 ; 10.00%