STRASMORE/EXPLORE 3,293 QUERIES 22Y EQUITIES · 12Y OPTIONS

3,293 answered market questions

every one with its exact SQL, its result and the date it was computed · free, no signup

Did Stocks Take 25 Years to Recover From 1929?
SPY cash distributions each year, as a percent of the year's opening share priceranking · 2026-11-07 · 19×2Preview: 16 ranked values, smallest first. Price weight vs market-cap weight across eight large US namesranking · 2026-11-07 · 8×4Preview: 8 ranked values, largest first. SPY from its October 2007 peak month: price only vs dividends reinvestedtable · 2026-11-07 · 75×4
SPY cash distributions each year, as a percent of the year's opening share price

SPY cash distributions each year, as a percent of the year's opening share price

most recentas of ranking 19×2read in context →
SPY cash distributions each year, as a percent of the year's opening share price — 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
the exact SQL behind every number
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
$