![]() |
|
|
|
#1 |
|
Full time employment: Posting here.
![]() ![]() ![]() ![]() ![]() |
Side Project
I have been working on a small calculator as a side project during my "free time". Basically, there is a chart of the market from 1930-> ~6/2004, and you can set up your monthly contributions, slide a "slider" up and down the chart, and see how your "portfolio" would have done during those years.
The first version is here: http://thealterego.com/market/ The second version (which now includes Aaa bonds) can be found here: http://thealterego.com/market/index2.html The first one seems to be right, but I'm not sure about the math for the bond returns... I think they're right, but if anyone would like to eyeball it and tell me what you think, that would be great. Someone previously asked me if contributions are adjusted for inflation.... they are not. |
|
|
|
|
|
#2 |
|
Thinks s/he gets paid by the post
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2003
Posts: 4,461
|
Re: Side Project
It's just plain scary to look at a chart of the Dow in linear scale. *Most charts use log scale. * A 1000 point increase from 500-1500 (200%) shouldn't look the same as a 1000 point increase from 9000-10000 (10%+).
Your calculation of annual percentage gain is incorrect. * I looked at the 25-years from 1975-2000, and you told me that the market went up 50%/year. * I wish * ![]() Other than that, pretty cool -- nice use of client-side scripting. |
|
|
|
|
|
#3 | |
|
Guest
Posts: n/a
|
Re: Side Project
Quote:
You're right on that one. Maybe that's what ***** has been doing ![]() |
|
|
|
|
#4 | |
|
Full time employment: Posting here.
![]() ![]() ![]() ![]() ![]() |
Re: Side Project
Quote:
Thanks for the input ![]() |
|
|
|
|
|
|
#5 | |
|
Thinks s/he gets paid by the post
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2003
Posts: 4,461
|
Re: Side Project
Quote:
![]() Hopefully a math-wiz will chime in here to help you out, but the ERR calculation is more complex than what you're doing. Assuming you're calculating the final balance correctly (it looked OK to me when I glanced at your source), then you want to find the rate that would have given you the same balance with simple compounding, right? The formula to calculate the balance B after periodic contributions C for N periods at rate R is: B = C[((1+R)^(N+1) - (1+R))/R] You know B, C, and N -- find R. |
|
|
|
|
|
|
#6 |
|
Full time employment: Posting here.
![]() ![]() ![]() ![]() ![]() |
Re: Side Project
All I did was take the total gain / total contributions, and then divide that % by the number of years :-/
|
|
|
|
|
|
#7 |
|
Thinks s/he gets paid by the post
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2003
Posts: 4,461
|
Re: Side Project
In other words, you ignored both the effects of compounding and DCA'ing. * I believe you *
![]() I'm tempted to offer more help, but my dogs keep barking at me every time a deer or raccoon wanders into the yard. * It makes working damn near impossible. * Good dogs * ![]() |
|
|
|
|
|
#8 |
|
Full time employment: Posting here.
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2002
Posts: 841
|
Re: Side Project
That's wrong for a number of reasons. *Even if the contribution was a lump sum at the beginning of the period of n years you would need to take the nth root of the returns %age. *Now if as in your case the contributions are on an ongoing basis you will need to account for each of the contributions separately using a series. *There should be something out there on the web explaining this in more detail if you google for it or a finance book will have it too.
__________________
Hyperborea - A Perpetual Traveller in Training<br />Patriotism is your conviction that this country is superior to all other countries because you were born in it. George Bernard Shaw<br />The world is not black and white. More like black and grey. Graham Greene |
|
|
|
|
|
#9 | |
|
Thinks s/he gets paid by the post
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2003
Posts: 4,461
|
Re: Side Project
Quote:
|
|
|
|
|
|
|
#10 | |
|
Full time employment: Posting here.
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2002
Posts: 841
|
Re: Side Project
Quote:
__________________
Hyperborea - A Perpetual Traveller in Training<br />Patriotism is your conviction that this country is superior to all other countries because you were born in it. George Bernard Shaw<br />The world is not black and white. More like black and grey. Graham Greene |
|
|
|
|
|
|
#11 |
|
Guest
Posts: n/a
|
Re: Side Project
Nice application Marshac,
Are you taking dividends into account ? --John |
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Computer Geeks - Is this true or a prank? "Dark porcelain" project | dex | Other topics | 9 | 04-01-2007 12:16 PM |
| Anyone buy a side of beef to save $$$ before? | thefed | FIRE and Money | 13 | 01-12-2006 03:05 PM |
| TIAA CREF = teachers annuity side | mangodance | FIRE and Money | 3 | 07-02-2005 11:42 AM |
| Help with the bond side of things | Roger_R | FIRE and Money | 16 | 07-06-2004 04:58 PM |
| The Dark Side of Volunteering | arrete | Other topics | 2 | 04-30-2003 06:57 PM |
|
Other
Social Knowledge
forum communities: Cooking Forum - Sailing Forum - Early Retirement - Airstream Trailer - Aquarium Forum - Royal Forum - Book Forum - Volkswagen Touareg Forum - Jeep Wrangler Forum - Whitewater Kayaking & Rafting Forum - Fiberglass RV Forum - RV Forum - Truck Conversion - U2 Music Forum |
|
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. Search Engine Friendly URLs by vBSEO 3.2.0 |