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.
Run it yourself
This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.
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
Work with this data in your AI assistant
Opens ready to query, with this page's data. Free, no account.