portfolio-rollingPortfolios | R Documentation |
A collection and description of functions allowing to roll a portfolio optimization over time.
The functions are:
rollingWindows | Returns a list of rolling window frames, |
rollingCmlPortfolio | Rolls a CML portfolio, |
rollingTangencyPortfolio | Rolls a tangency portfolio, |
rollingMinvariancePortfolio | Rolls a minimum risk portfolio, |
rollingPortfolioFrontier | returns an efficient portfolio |
rollingWindows(x, period = "12m", by = "1m")
rollingCmlPortfolio(data, spec, constraints, from, to, action = NULL,
title = NULL, description = NULL, ...)
rollingTangencyPortfolio(data, spec, constraints, from, to, action = NULL,
title = NULL, description = NULL, ...)
rollingMinvariancePortfolio(data, spec, constraints, from, to, action = NULL,
title = NULL, description = NULL, ...)
rollingPortfolioFrontier(data, spec, constraints, from, to, action = NULL,
title = NULL, description = NULL, ...)
action |
a character string naming a user defined function. This function is optionally applied after each rolling step. |
by |
a character string, by default |
constraints |
a character string vector, containing the constraints of the form |
data |
a list, having a statistics named list, having named entries 'mu' and 'Sigma', containing the information of the statistics. |
description |
a character string, allowing for a brief project description, by default NULL, i.e. Date and User. |
from, to |
a vector of S4 |
period |
a character string, by default |
spec |
an S4 object of class |
title |
a character string, containing the title for the object, by default NULL. |
x |
an S4 object of class |
... |
optional arguments to be passed. |
RollingWindows:
The function rollingWindows
constructs from a 'timeSeries'
object windows frames of given length period
and shift
by
. ...
Rolling Portfolios:
The functions rolling*Portfolio
...
Rolling Frontier:
The function rollingPortfolioFrontier
...
rollingwindows()
returns ...
rollingCmlPortfolio
rollingTangencyPortfolio
rollingMinvariancePortfolio
return ...
rollingPortfolioFrontier
returns ...
Wuertz, D., Chalabi, Y., Chen W., Ellis A. (2009); Portfolio Optimization with R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.