STRASMORE/EXPLORE 2,170 QUERIES

One position, one year at a time: SPY annualized Sharpe by calendar year

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-14, from Bootstrapping Backtest Confidence Bands.

as of table 14×5read in context →
One position, one year at a time: SPY annualized Sharpe by calendar year — 14 rows by 5 columns, computed from US exchange, SIP and OPRA data.
yearobs_countann_return_pctann_vol_pctsharpe_ratio
201225013.5612.791.06
201325226.6311.132.39
201425211.3311.281
20152520.3915.580.03
201625210.0713.140.77
201725118.026.772.66
2018251-5.1217.13-0.3
201925226.112.552.08
202025320.5833.510.61
202125224.813.111.89
2022251-18.8124.27-0.78
202325022.7913.191.73
202425221.7512.591.73
202525017.1419.480.88
Rows × columns
14 × 5
Computed
Completeness
No missing values
Source
US exchange, SIP and OPRA market data
Licence
Strasmore terms · free, no signup
Formats
JSON · CSV · the SQL below

What each column holds

Column definitions for One position, one year at a time: SPY annualized Sharpe by calendar year, derived from the stored result.
ColumnTypeRangeNotes
year text 14 distinct values (2012, 2013, 2014…)
obs_count number 250 to 253 count
ann_return_pct number -18.81 to 26.63 percent
ann_vol_pct number 6.77 to 33.51 percent
sharpe_ratio number -0.78 to 2.66 ratio or rate

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
        date,
        toFloat64(close) / nullIf(lagInFrame(toFloat64(close), 1)
            OVER (ORDER BY date ROWS BETWEEN 1 PRECEDING AND CURRENT ROW), 0) - 1 AS ret
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'SPY'
      AND date >= '2011-12-01'
      AND date <  '2026-01-01'
)
SELECT
    toString(toYear(date))                            AS year,
    count()                                           AS obs_count,
    round(avg(ret) * 252 * 100, 2)                    AS ann_return_pct,
    round(stddevSamp(ret) * sqrt(252) * 100, 2)       AS ann_vol_pct,
    round(avg(ret) / stddevSamp(ret) * sqrt(252), 2)  AS sharpe_ratio
FROM daily
WHERE date >= '2012-01-01'
  AND ret IS NOT NULL
GROUP BY year
ORDER BY year

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 analysisBootstrapping Backtest Confidence Bands
Measured Sharpe dispersion across non-overlapping SPY windows, 2006 to 2025 table 5×6 Variance ratio by block length: does SPY variance scale like independent draws? ranking 7×3 Lag-one autocorrelation: signed returns against absolute returns, 2016 to 2025 ranking 6×4 Weekly z score of the KO/PEP spread, hedge ratio fitted on 2023 only series 105×2 Hedge ratio refitted each calendar year, two sector pairs ranking 7×3 Where the KO/PEP spread sat twenty sessions later, by starting z score (2019-2025) ranking 6×4 See all 2,170 queries →