
2014-01-01 * Test
    Assets:Cash                   10.00 GBP
    Equity:Opening balance       -10.00 GBP

2014-02-01 * Exchange rate 1.10
    Assets:Cash        -1.00 GBP @ 1.10 EUR
    Assets:Cash                    1.10 EUR

2014-03-01 * Exchange rate 1.20
    Assets:Cash      -1.00 GBP (@) 1.20 EUR
    Assets:Cash                    1.20 EUR

$ hledger -f- check

#test pricedb
#P 2014/02/01 00:00:00 GBP 1.10 EUR
#end test
#
#test reg Equity:Opening -X EUR
#14-Jan-01 Test                  Equity:Opening balance   -10.00 GBP   -10.00 GBP
#14-Feb-01 Commodities revalued  <Revalued>                        0   -11.00 EUR
#end test
#
#