v2

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

Maximum Sharpe Ratio Portfolio

Compute the asset weights of the maximum Sharpe ratio portfolio, optionally subject to:

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

References

  • Harry M. Markowitz, Portfolio Selection, Efficient Diversification of Investments, Second edition, Blackwell Publishers Inc.
post/portfolios/optimization/maximum-sharpe-ratio

Request body

assetsinteger required

The number of assets

assetsMeanReturnsnumber[] required

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

riskFreeReturnnumber

The constant risk-free arithmetic return over the considered time period, in percentage

Response

OK

assetsWeightsnumber[] required

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