This function generates the mean-EQS efficient frontier of a portfolio
specifying the constraints and objectives. The portfolio
object
should have two objectives: 1) mean and 2) EQS. If the
portfolio object does not contain these objectives, they will be added
using default parameters.
meaneqs.efficient.frontier(
portfolio,
R,
optimize_method = "CVXR",
n.portfolios = 25,
...
)
a matrix of objective measure values and weights along the efficient frontier
a portfolio object with constraints and objectives created via portfolio.spec
an xts or matrix of asset returns
the optimize method to get the efficient frontier, default is CVXR
number of portfolios to generate the efficient frontier
passthru parameters to optimize.portfolio
Xinran Zhao