(Fri, Jan 19, 2018 at 02:27:11PM +0700) Martin Michlmayr :
> > Why doesn't it balance? What do I need to do to get it to balance? Am I 
> > doing something fundamentally wrong?
> 
> I don't know why you're getting the result you're getting and whether
> it's correct (see the other mail), but in general, only the -B option
> is guaranteed to balance in ledger.

+ "--real", and except for rounding errors ;)


Anyway, there was a discussion in the IRC channel yesterday evening, and
it turns out that the error comes from the fact that the revaluing
happens before the transaction.

Thus, the revaluing includes the value of "Income:Capital Gains", which
it shouldn’t. If the revaluing process happened after, it would use the
correct amount (i.e. only the assets that are left).

I tried to have a look at the code to see if I could do a quickwin, but
it’s more complicated than that :/
(Also, there may be another reason why the revaluing happens before and
not after that I’m missing)


Kind regards,
-- 
Ismael

-- 

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

Attachment: signature.asc
Description: PGP signature

Reply via email to