On Aug 16, 2010, at 12:58 PM, Łukasz Stelmach wrote:

> Then the getquote "interface" should support specifing the date to get
> the exchange rate at the time (day) of the transaction[*], save it in
> the pricedb in the correct place, and query the pricedb when building
> reports. In general the idea looks very promising.

>> But in the second transaction, I've spent some of those KRW.  If today I
>> ask for a reporting of expenses in terms of EUR, I should use the price
>> of KRW from 4/18, not today.
> 
> In this particular example it should be price of KRW from 4/17 because
> it was when you bought the cash. The cash (but not only) becomes "final"
> from the moment you spend it back to the time you purchased it.

For historical transactions, Ledger knows the exact price of the exchange, 
there is no need to query a server for it, or use a price from the day before.  
The price is what you paid at that point, not what the market says it is.

John

Reply via email to