advanced portfolio and liquidated stock accounts

Ariel asgnucash at dsgml.com
Sat Nov 18 20:07:03 EST 2006


On Fri, 17 Nov 2006, Philippe A. wrote:

> Here's an easy to reproduce example:
> - Create a dummy stock account.
> - Purchase 1000 shares at 1$ each
> - Sell 1000 shares at 0.75$
> - Use the lot viewer to calculate the loss. It wil lalso take care of
> writing it in an orphaned gain/loss account as a 250$ charge.

> Value = 0 (ok)

Why is 0 ok? It should be -250. If you put in a transaction that changes 
the total value to 0 then:

> Money in = 1250 (wrong)

Is exactly right you have 1000 in, plus the 250 that you put in to clear 
the balance.

Everything follows from this (unless I'm not fully understanding the 
problem, I've never used the stock feature).

> money out = 750 (ok)
> realized gain = -500 (wrong)
> unrealized gain = 0 (ok)
> total gain = -500 (wrong)
> tot return = -40% (wrong)

 	-Ariel


More information about the gnucash-user mailing list