The following project examines the trade-off between risk and return for investment into an index fund (in this case the Vanguard S&P500 tracking ETF/mutual fund. Specifically the analysis looks at one single lump sum investment versus three investments spread out equally in time.
drjubbs/portfolio-risk
Pareto analysis of strategies for dollar cost averaging into index fund
PythonMIT