>>>>> "AB" == Alexander Baier <[email protected]> writes:

AB> This one supprised me, stating €40 as being charged to my E account:

AB> $ ledger -f journal.dat reg E --monthly --exchange € --historical
AB> 17-Sep-01 - 17-Sep-30 E €40 €20

AB> I would have expected to see €15 in the second to last column. €5 from
AB> 09/01 and €10 from 09/05.

It looks like --monthly is using the price from the most recent valuation
within that period. Without --monthly, you get €15 as you'd expect. This seems
like a weakness in the way that --historical is implemented (which granted, is
quite simple).

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to