STRASMORE/EXPLORE 2,948 QUERIES

yield_by_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-10-02, from did-stocks-take-25-years-to-recover.

as of ranking 19×2read in context →
yield_by_year — 19 rows by 2 columns, computed from US exchange, SIP and OPRA data.
yeardividend_yield_pct
20071.91
20081.88
20092.34
20102
20112.03
20122.43
20132.29
20142.1
20152.05
20162.26
20172.13
20181.9
20192.25
20201.75
20211.55
20221.32
20231.74
20241.49
20251.25
Rows × columns
19 × 2
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 yield_by_year, derived from the stored result.
ColumnTypeRangeNotes
year number 2,007 to 2,025
dividend_yield_pct number 1.25 to 2.43 percent

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 yearly AS
(
    SELECT
        toYear(date)                   AS year,
        argMin(toFloat64(close), date) AS first_close
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'SPY'
      AND date >= '2005-01-01'
      AND date <  '2026-01-01'
    GROUP BY year
),
cash AS
(
    SELECT
        toYear(ex_date) AS year,
        sum(cash)       AS cash_paid,
        count()         AS payments
    FROM
    (
        SELECT
            ex_dividend_date            AS ex_date,
            max(toFloat64(cash_amount)) AS cash
        FROM global_markets.stocks_dividends
        WHERE ticker = 'SPY'
          AND ex_dividend_date >= '2005-01-01'
          AND ex_dividend_date <  '2026-01-01'
          AND cash_amount > 0
        GROUP BY ex_dividend_date
    )
    GROUP BY year
    HAVING payments >= 4
)
SELECT
    y.year                                      AS year,
    round(100 * c.cash_paid / y.first_close, 2) AS dividend_yield_pct
FROM yearly AS y
INNER JOIN cash AS c ON c.year = y.year
ORDER BY year
⌘/Ctrl + Enter

Work with this data in your AI assistant

Opens ready to query, with this page's data. Free, no account.

More from this analysisdid-stocks-take-25-years-to-recover
weighting_contrast ranking 8×4 → recovery_path_2007 table 75×4 → Top 25 weekly-options underlyings by distinct contracts traded, with expiration weekdays ranking 25×4 → Annualized volatility vs total return, 25 large caps, calmest to wildest (~2 years) ranking 25×3 → SPY options median spread by expiration date, near-the-money strikes only ranking 25×4 → Stock headlines by ET hour of publication (last 30 days, all days) ranking 24×3 → See all 2,948 queries →