Portfolio Analysis / Mean-Variance

Rolling Sharpe Ratios

Changed on

Compute the rolling Sharpe Ratios of a portfolio.

References

post/portfolios/analysis/mean-variance/sharpe-ratio/rolling

Request

  • Base URL
    https://api.portfoliooptimizer.io/v1
  • URL
    https://api.portfoliooptimizer.io/v1/portfolios/analysis/mean-variance/sharpe-ratio/rolling
  • Auth
    API key in header X-API-Key

Request body

riskFreeReturnnumber

The constant risk-free arithmetic return over the considered time period, in percentage; exclusive with riskFreeReturns

riskFreeReturnsnumber[]

riskFreeReturns[t] is the risk-free arithmetic return at the time t; the riskFreeReturns array must have the same length as all the portfolioReturns arrays or the same length minus 1 as all the portfolioValues arrays; exclusive with riskFreeReturn

Response

OK

Changes