profit/loss with mutual funds

Robert Graham Merkel rgmerk@mira.net (Robert Graham Merkel)
Fri, 23 Feb 2001 07:18:42 +1100


linas@linas.org writes:
 > It's been rumoured that Jason Rennie said:
 > > 
 > > 
 > > aud.renne@exmail.de 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.

There is a plan to reimplement this.

------------------------------------------------------------
Robert Merkel	                           rgmerk@mira.net

"We can build a better product than Linux" - Jim Allchin,
chief Windows Technologist, Microsoft Corporation. 
------------------------------------------------------------