sp500SlidingWindow index
geometric FV = PV * (1 + geometric) ** years
continuous FV = PV * exp(continuous * years)
1 |
PV |
the price at the beginning of the period |
FV |
the price at the end of the period |
fractional_years |
the length of the period in (fractional) years |
type |
either "geometric" or "continuous" |
the compounded rate of return, annualized
see r_continuous and r_discrete
George Fisher GeorgeRFisher@gmail.com
1 2 3 4 5 6 7 8 9 10 11 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.