Portfolio Analysis / Mean-Variance

Rolling Sharpe Ratios

Compute the rolling Sharpe Ratios of a portfolio.

References

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

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