On May 2, 2010, at 8:57 PM, Peter Ross wrote: > However it doesn't handle the case of unrealized currency gains. > > I added the line > > P 2009/02/15 EUR 1.90 AUD > > to your example above and here is my balance sheet on that date > > $ ledger -f invoice3.dat -X AUD -e 2009/02/15 bal assets liabilities
Use of pricing entries only affects -X reports that contain the priced commodity. You are correct that I do not register unrealized gains as a real gain. We had a huge discussion about this on #ledger over the course of a few days, but I was unable to come up with a convincing solution, despite spending a few hours coding a couple alternatives. John
