Risk-adjusted return: (mean return - risk-free rate) / sample standard deviation of returns (n-1). Pass periodsPerYear to also get the annualized ratio (× sqrt(periodsPerYear)).