Hi John!

On 09/20/2017 06:12 PM, John Wiegley wrote:
"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.

That still does not add up for me. IIUC, the most recent valuation in the period 17-Sep-01 to 17-Sep-30 is 1 DM = €1. The sum of all posting to E in said period is 20 DM = (10 DM + 10 DM). With above valuation that would make €20. What am I missing here?

Without --monthly, you get €15 as you'd expect.

Yes.


Regards,
--
Alex


--

--- 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