v2

latestOpenAPI 3.0.1Apache 2.02026-07-2623201.3 MB
Portfolio Optimization / Mean-Variance

Diversified Mean-Variance Efficient Portfolio

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 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