portfolio object
should have two objectives: 1) mean and 2) ES (or ETL or cVaR). If the
portfolio object does not contain these objectives, they will be added
using default parameters.
meanetl.efficient.frontier(portfolio, R, n.portfolios = 25, ...)portfolio.specoptimize.portfolio