One year of SPY, three sampling frequencies, one annualized Sharpe ratio
Answered against 22 years of US equities and 12 years of US options data and published with the query that produced it. This result is stored as of 2026-08-06, from What Is the Sharpe Ratio? Formula and Math.
| sampling | per_period_sharpe | annualized_sharpe |
|---|---|---|
| Daily | 0.0431 | 0.68 |
| Weekly | 0.0915 | 0.66 |
| Monthly | 0.3009 | 1.04 |
- Rows × columns
- 3 × 3
- Computed
- Completeness
- No missing values
- Source
- US exchange, SIP and OPRA market data
- Licence
- Strasmore terms · free, no signup
What each column holds
| Column | Type | Range | Notes |
|---|---|---|---|
sampling |
text | 3 distinct values (Daily, Monthly, Weekly) | |
per_period_sharpe |
number | 0.0431 to 0.3009 | |
annualized_sharpe |
number | 0.66 to 1.04 |
Computed from Strasmore's warehouse of US exchange, SIP and OPRA market data. Equity prices are delayed; options greeks and implied volatility are end-of-day. This result is stored, not recomputed on load — it is exactly the numbers that were returned on , and the query below is what returned them.
the exact SQL behind every number
WITH
daily AS
(
SELECT
toDate(toTimeZone(window_start, 'America/New_York')) AS session_date,
argMax(toFloat64(close), window_start) AS close_px
FROM global_markets.delayed_stocks_minute_aggs
WHERE ticker = 'SPY'
AND window_start >= toDateTime('2024-12-24 00:00:00')
AND window_start < toDateTime('2026-01-01 05:00:00')
AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
+ toMinute(toTimeZone(window_start, 'America/New_York'))) >= 570
AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
+ toMinute(toTimeZone(window_start, 'America/New_York'))) < 960
GROUP BY session_date
),
freqs AS
(
SELECT
arrayJoin([('Daily', 252), ('Weekly', 52), ('Monthly', 12)]) AS pair,
pair.1 AS sampling,
pair.2 AS periods_per_year
),
bucketed AS
(
SELECT
f.sampling AS sampling,
f.periods_per_year AS periods_per_year,
multiIf(f.sampling = 'Daily', d.session_date,
f.sampling = 'Weekly', toMonday(d.session_date),
toStartOfMonth(d.session_date)) AS period_key,
argMax(d.close_px, d.session_date) AS period_close
FROM daily AS d
CROSS JOIN freqs AS f
GROUP BY sampling, periods_per_year, period_key
),
stepped AS
(
SELECT
sampling,
periods_per_year,
period_key,
period_close,
lagInFrame(period_close, 1) OVER (PARTITION BY sampling ORDER BY period_key
ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) AS prev_close
FROM bucketed
),
per_period AS
(
SELECT
sampling,
periods_per_year,
period_close / prev_close - 1 - 0.0425 / periods_per_year AS ex_ret
FROM stepped
WHERE prev_close > 0
AND period_key >= toDate('2025-01-01')
)
SELECT
sampling,
round(avg(ex_ret) / stddevSamp(ex_ret), 4) AS per_period_sharpe,
round(avg(ex_ret) / stddevSamp(ex_ret) * sqrt(periods_per_year), 2) AS annualized_sharpe
FROM per_period
GROUP BY sampling, periods_per_year
ORDER BY periods_per_year DESC
Run your own version of this
The same 22 years of US equities and 12 years of options data are queryable in SQL or plain English. A free account runs 100 queries a day and takes no card.
More from this analysisWhat Is the Sharpe Ratio? Formula and Math
SPY annualized Sharpe ratio, year by year, fixed 4.25% assumed rate
ranking 10×3
→
Sharpe against Sortino, six names, calendar 2025
ranking 6×4
→
Annualized Sharpe ratio by name, calendar 2025, assumed 4.25% risk-free rate
ranking 6×4
→
Same SPY 2025 returns, six assumed risk-free rates
ranking 6×4
→
Annualized volatility vs total return, 25 large caps, calmest to wildest (~2 years)
ranking 25×3
→
Three-month Treasury bill yield by calendar year
ranking 22×4
→
See all 2,170 queries →