Portfolio Optimization / Mean-Variance

Diversified Mean-Variance Efficient Portfolio

Changed on

Compute the asset weights of a diversified mean-variance efficient portfolio, optionally subject to:

  • Minimum and maximum weights constraints
  • Minimum and maximum group weights constraints
  • Minimum and maximum portfolio exposure constraints

The diversification measure used in the optimization procedure is the Herfindahl-Hirschman Index of the assets weights.

A diversified mean-variance efficient portfolio does NOT belong to the mean-variance efficient frontier, but is close to this frontier.

References

post/portfolios/optimization/mean-variance-efficient/diversified

Request

  • Base URL
    https://api.portfoliooptimizer.io/v1
  • URL
    https://api.portfoliooptimizer.io/v1/portfolios/optimization/mean-variance-efficient/diversified
  • Auth
    API key in header X-API-Key

Request body

assetsinteger required

The number of assets

assetsMeanReturnsnumber[] required

assetsMeanReturns[i] is the arithmetic (expected) return of asset i

portfolioMeanReturnTolerancenumber

The relative tolerance over the mean-variance efficient portfolio return, if applicable

portfolioVolatilityTolerancenumber

The relative tolerance over the mean-variance efficient portfolio volatility

Response

OK

assetsWeightsnumber[] required

assetsWeights[i] is the weight of the asset i in the portfolio, in percentage

Changes