Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annualized Sharpe Ratio Calculation #44

Open
jakewillms17 opened this issue Jun 20, 2024 · 1 comment
Open

Annualized Sharpe Ratio Calculation #44

jakewillms17 opened this issue Jun 20, 2024 · 1 comment

Comments

@jakewillms17
Copy link

jakewillms17 commented Jun 20, 2024

Wondering why the annualized sharpe ratio calculation doesn't line up with the traditional methodology of annualized return / annualized volatility?

qs.stats.cagr(returns)/qs.stats.volatility(returns)
0.6317448862990539
qs.stats.sharpe(returns)
0.8451565697277529

returns is a daily returns object. All other resources I've worked with give a number like the 0.6317 value (R, online resources).

@jakewillms17
Copy link
Author

following up on this, most of the difference was as a result of the 365 days for a period. This should be 252. the rest, however, would have to do with using arithmetic vs. geometric return when calculating Sharpe I believe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant