Closed ChengLuFred closed 3 years ago
When I read the source code of 'Sharpe ratio' function, I found that the calculation doesn't take interest rate into account. The formula for SR is E[r - r_f] / sigma, where r_f is risk free rate. I think this would affect the accuracy of results.
Thanks!
Just corrected it in the new version!
When I read the source code of 'Sharpe ratio' function, I found that the calculation doesn't take interest rate into account. The formula for SR is E[r - r_f] / sigma, where r_f is risk free rate. I think this would affect the accuracy of results.