summaryrefslogtreecommitdiff
path: root/test/baseline/opt-historical.test
blob: 1cd141ab699c8330a9ec73b75d03e050caf51755 (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
59
60
61
2012-03-01 Broker
    Assets:Stocks                10 APPL {$1} @ $1
    Equity

2012-03-02 Broker
    Assets:Stocks                10 APPL {$1} @ $2
    Equity

2012-03-03 Broker
    Assets:Stocks                10 APPL {$1} @ $3
    Equity

2012-03-04 Broker
    Assets:Stocks                10 APPL {$1} @ $4
    Equity

2012-03-05 Broker
    Assets:Stocks                10 APPL {$1} @ $5
    Equity

test reg stocks -O
12-Mar-01 Broker                Assets:Stocks               10 APPL      10 APPL
12-Mar-02 Broker                Assets:Stocks               10 APPL      20 APPL
12-Mar-03 Broker                Assets:Stocks               10 APPL      30 APPL
12-Mar-04 Broker                Assets:Stocks               10 APPL      40 APPL
12-Mar-05 Broker                Assets:Stocks               10 APPL      50 APPL
end test

test reg stocks -B
12-Mar-01 Broker                Assets:Stocks                   $10          $10
12-Mar-02 Broker                Assets:Stocks                   $20          $30
12-Mar-03 Broker                Assets:Stocks                   $30          $60
12-Mar-04 Broker                Assets:Stocks                   $40         $100
12-Mar-05 Broker                Assets:Stocks                   $50         $150
end test

test reg stocks -I
12-Mar-01 Broker                Assets:Stocks                   $10          $10
12-Mar-02 Broker                Assets:Stocks                   $10          $20
12-Mar-03 Broker                Assets:Stocks                   $10          $30
12-Mar-04 Broker                Assets:Stocks                   $10          $40
12-Mar-05 Broker                Assets:Stocks                   $10          $50
end test

test reg stocks -O -H
end test

test reg stocks -B -H
end test

test reg stocks -I -H
end test

test reg stocks -O -V
end test

test reg stocks -B -V
end test

test reg stocks -I -V
end test