summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-equity.test
blob: faffc085412cf04b5a36b862565d0ac901bc5730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
D 1000.00 GBP

2011-03-04 Buy shares
    Assets:Broker           2 AAA @ 0.90 GBP
    Assets:Bank

2011-03-05 Buy shares
    Assets:Broker           2 AAA @ 1.00 GBP
    Assets:Bank

test equity
2011/03/05 Opening Balances
    Assets:Bank                            -3.80 GBP
    Assets:Broker                              4 AAA
    Equity:Opening Balances                   -4 AAA
    Equity:Opening Balances                 3.80 GBP
end test

test equity assets
2011/03/05 Opening Balances
    Assets:Bank                            -3.80 GBP
    Assets:Broker                              4 AAA
    Equity:Opening Balances                   -4 AAA
    Equity:Opening Balances                 3.80 GBP
end test

test equity assets:bank
2011/03/05 Opening Balances
    Assets:Bank                            -3.80 GBP
    Equity:Opening Balances
end test

test equity assets:broker
2011/03/05 Opening Balances
    Assets:Broker                              4 AAA
    Equity:Opening Balances
end test

test equity --lot-prices
2011/03/05 Opening Balances
    Assets:Bank                            -3.80 GBP
    Assets:Broker                       2 AAA {0.90 GBP}
    Assets:Broker                       2 AAA {1.00 GBP}
    Equity:Opening Balances             -2 AAA {0.90 GBP}
    Equity:Opening Balances             -2 AAA {1.00 GBP}
    Equity:Opening Balances                 3.80 GBP
end test

test equity --lots --date-format %Y/%m/%d
2011/03/05 Opening Balances
    Assets:Bank                            -3.80 GBP
    Assets:Broker                       2 AAA {0.90 GBP} [2011/03/04]
    Assets:Broker                       2 AAA {1.00 GBP} [2011/03/05]
    Equity:Opening Balances             -2 AAA {0.90 GBP} [2011/03/04]
    Equity:Opening Balances             -2 AAA {1.00 GBP} [2011/03/05]
    Equity:Opening Balances                 3.80 GBP
end test