price editor keeps past prices for ROI

Larry Evans cppljevans at cox-internet.com
Sun Jul 2 21:04:03 EDT 2006


On 07/02/2006 07:22 PM, Larry Evans wrote:
[snip]
> I want average return on investment.  For example.
> 
>    commodity 1:
>    2000 invested   1 for 1 share.
>    2001 price is   1
>    2002 sold for   4
> 
> So 1*2^2 =4 hence the AveROI=100% for 2000 to 2002.  But if I'd
> sold it in 2001, the AveROI would have be 0.  Between 2001
> and 2002, the AveROI would be 300% (i.e. 4-1 expressed as percent).
> Thus, I need the price of commodity 1 at the start and end of the
> time period over which I'm calculating the AveROI.

I probably was using the wrong term.  The Average Annualized Rate of 
Return as described here:

http://en.wikipedia.org/wiki/Return_on_investment#Average_Annualized_Rate_of_Return

is what I want.



More information about the gnucash-user mailing list