In article <[email protected]>, Martin Michlmayr <[email protected]> wrote:
> * Dennis de Reus <[email protected]> > [2014-01-01 11:45]: > > When I look at the register, Ledger reevaluates the USD/EUR rates after the > > 2nd transation, leading to a EUR 0.21 difference: > > > > ledger reg -f data.txt -X EUR > > Use: > ledger -f data.txt -X EUR -H reg > > The -H option will tell ledger not to revalue. I'd like to mention that another possibility is to use a trading account. Your example would become: P 2013/10/29 00:00:00 EUR USD 1.3800 2013/10/29 HostingCorp Liabilities:Mastercard EUR -15.00 Expenses:Hosting USD 20.00 Income:Currency EUR 15.00 Income:Currency USD -20.00 P 2013/11/29 00:00:00 EUR USD 1.3588 2013/11/29 HostingCorp Liabilities:Mastercard EUR -15.21 Expenses:Hosting USD 20.00 Income:Currency EUR 15.21 Income:Currency USD -20.00 Trading accounts are described in detail in this tutorial: http://www.mathstat.dal.ca/~selinger/accounting/tutorial.html They have been cited many times and you'll find several other examples in this mailing list. They have several advantages over other methods, which, again, have been discussed here, so I won't repeat them. Regards, Life -- --- 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/groups/opt_out.
