STRASMORE/EXPLORE 2,170 QUERIES

Trailing 12-month dividend yield: SPY against two open-end S&P 500 ETFs

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-22, from SPY Dividend Yield: Why It Trails the Index.

as of ranking 3×3read in context →
Trailing 12-month dividend yield: SPY against two open-end S&P 500 ETFs — 3 rows by 3 columns, computed from US exchange, SIP and OPRA data.
tickertrailing_yield_pctyield_spread_vs_spy_bps
IVV1.0638.2
SPY0.9810
VOO1.0426.1
Rows × columns
3 × 3
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 Trailing 12-month dividend yield: SPY against two open-end S&P 500 ETFs, derived from the stored result.
ColumnTypeRangeNotes
ticker text 3 distinct values (IVV, SPY, VOO)
trailing_yield_pct number 0.981 to 1.063 percent
yield_spread_vs_spy_bps number 0 to 8.2 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
    divs AS
    (
        SELECT
            ticker,
            ex_dividend_date,
            max(toFloat64(cash_amount)) AS cash_amount
        FROM global_markets.stocks_dividends
        WHERE ticker IN ('SPY', 'VOO', 'IVV')
          AND ex_dividend_date >= today() - 365
          AND ex_dividend_date <  today()
        GROUP BY ticker, ex_dividend_date
    ),
    ttm AS
    (
        SELECT
            ticker,
            sum(cash_amount) AS ttm_dividend
        FROM divs
        GROUP BY ticker
        HAVING count() = 4
    ),
    px AS
    (
        SELECT
            ticker,
            toFloat64(argMax(close, window_start)) AS last_close
        FROM global_markets.delayed_stocks_minute_aggs
        WHERE ticker IN ('SPY', 'VOO', 'IVV')
          AND window_start >= today() - 15
          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 ticker
    ),
    fund_yield AS
    (
        SELECT
            ttm.ticker                             AS ticker,
            ttm.ttm_dividend / px.last_close * 100 AS yield_pct
        FROM ttm
        INNER JOIN px ON px.ticker = ttm.ticker
    ),
    spy_yield AS
    (
        SELECT max(yield_pct) AS spy_pct
        FROM fund_yield
        WHERE ticker = 'SPY'
    )
SELECT
    fund_yield.ticker                                          AS ticker,
    round(fund_yield.yield_pct, 3)                             AS trailing_yield_pct,
    round((fund_yield.yield_pct - spy_yield.spy_pct) * 100, 1) AS yield_spread_vs_spy_bps
FROM fund_yield
CROSS JOIN spy_yield
ORDER BY ticker

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 analysisSPY Dividend Yield: Why It Trails the Index
SPY by calendar year: price change against dividends collected ranking 7×3 Days from ex-dividend date to pay date, last three years ranking 3×4 Every SPY distribution over the last three years, against the share price series 12×5 Monthly payers in the dividend record, by completed calendar year ranking 21×3 Time value left in deep in-the-money SPY calls, against the dividend at stake ranking 16×4 Biggest gainers and decliners: July 30 close vs July 29 close, $5M+ traded, splits excluded ranking 16×4 See all 2,170 queries →