Description Usage Arguments Value Author(s) Examples
View source: R/pub01_utilityFuncs.R
get the rolling performance of the return series
1 2 | rollingPerformance(rtn, FUN = "Return.annualized", width = 365, by = 30,
align = "right", ...)
|
rtn |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
FUN |
any function that can be evaluated using a single set of returns (e.g., rolling CAPM.beta won't work, but Return.annualized will) |
width |
see |
by |
see |
align |
see |
... |
other arguments to function FUN or |
A object of class xts with the results of the rolling function
Ruifei.Yin
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.