summaryrefslogtreecommitdiff
path: root/test/baseline/opt-pricedb-format.test
blob: c5238fe981028f5dab6bbaff2b8ba089691fedd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
D $1,000.00

P 2009/01/01 13:30:00 AAPL $10.00
P 2009/01/01 14:30:00 AAPL $20.00
P 2009/01/01 15:30:00 AAPL $30.00
P 2009/01/01 16:30:00 AAPL $40.00
P 2009/02/01 17:30:00 AAPL $50.00

2009/03/01 Purchase
  Assets:Brokerage       100 AAPL
  Income

test pricedb --pricedb-format='P %(date) %(scrub(display_amount))\n'
P 2009/01/01 $10.00
P 2009/01/01 $20.00
P 2009/01/01 $30.00
P 2009/01/01 $40.00
P 2009/02/01 $50.00
end test