Day 43 — Three Sharpe ratios from the same returns
Friday, 18 September 2026 · Week 7 of 52 · Returns and noise · Study day · 55 min
Before treating it as an estimator you need to know it is not one quantity but a family, and that most reported values omit the two choices that separate them.
What you should be able to do tonight
- Compute three defensible Sharpe ratios from one return series and explain what each subtracts and how each annualises.
- Say which convention makes a strategy look best and by how much, in your own data.
Tasks 55 min
30 min Compute, for one strategy-like series such as a 12-month momentum rule on SPY: Sharpe with zero risk-free, Sharpe with the bill rate, and Sharpe computed on monthly rather than daily returns then annualised. Report all three and the spread between the highest and lowest.
25 min Add sharpe(returns, rf=None, periods=252) to a new qlib/stats.py, with the convention documented in the docstring and asserted in a test. Every number you report for the rest of the year comes from this function, so the convention is now fixed and written down.
Resources
Deliverable
qlib/stats.py with a documented, tested Sharpe function, plus three conventions computed on one series and the spread between them.
Checkpoint
Someone reports a Sharpe of 1.4. What two questions do you ask before believing it is comparable to your 1.1?
Prepare for tomorrow
Ten minutes tonight so Day 44, Saturday, 19 September 2026 starts clean. This is what the evening email sends you.
Write down the delta method in one line, as you would use it for a ratio of two estimators. You will apply it tomorrow to the ratio of a mean to a standard deviation.
Note the two sample moments the Sharpe ratio depends on, and their asymptotic covariance under iid normality.
Nothing to download. Tomorrow is derivation.