On Feb 21, 2009, at 10:25 PM, Eugene Morozov wrote:
But when I use command ledger --price-db .prices.db -V bal I get the
following output:
$50
500 RUR Assets
$40 Bank:Debit card
$10
500 RUR Cash
$-50
-500 RUR Equity:Opening Balances
What command should I use to get output in a single currency?
Hi Eugene,
3.0 is getting close to feature completion, and this is one of the
final features left to be resolved. All of the internal circuitry to
fulfill your desire is complete, I just have to wire up the user
interface for how to pick the proper "target" currency. There is a
bit of complexity here, because some people want a global default,
others a per-account default, and others a default specified on the
command-line. I'd like to be able to support all methods.
Also, different banks use different currency exchange rates. What if I
make more than one transaction involving two currencies on the same
day in different banks with different exchange rates?
The latter entry's price will override the first. But you can always
use pricing entries, as you've done, to give a price at an exact point
in time.
John