It's been rumoured that Jason Rennie said:
> 
> 
> [EMAIL PROTECTED] said:
> > What way is a profit or loss calculated; should be (total_amount *
> > current_price) - sum_t(value(t)), that is (current value of account -
> > money spent to buy the current amount). And since this contains
> > re-investments the total profit/loss is wrong. 
> 
> Ah, yes.  The current version of GNUCash doesn't seem to have any way to 
> calculate profit correctly.

The engine has C code for a 'fifo' that would handle this correctly,
However, none of the reports currently use this, and I'm not sure what
that would take. (old gnucash-1.2 used to do this, but it fell into
disrepair).

The fifo does the right thing for reinvestments & etc, adding &
subtracting the purchase prices and quantities when they were made,
and correctly tracking the remainder.

I'm not sure, there may be a plan to re-implement the fifo in scheme.

--linas


_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to