Hi.

Given the following test.dat ledger file:

2012-10-01 Buy bitcoins
    Assets:Bitcoins        2 BTC @ $11
    Assets:USD

2012-10-02 Sell bitcoins to a friend for a discount
    Assets:USD
    Assets:Bitcoins        -1 BTC (@) $10

I am surprised by the result of ledger -f test.dat bal -V bitcoins:

     $10  Assets:Bitcoins

Why does the bitcoin remaining in Assets:Bitcoins use the $10 price which
is not supposed to be recorded as an historical price? Shouldn't it be
valued at $11 (the latest historical price to date)?

I'm using the current git version from the master branch.

  Sam

Reply via email to