Trailing twelve-month dividend income by holding
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-07, from Portfolio Analysis in SQL: Weights to Drawdown.
| ticker | payment_count | ttm_dividend_per_share | ttm_income | income_yield_pct | blend_ttm_income |
|---|---|---|---|---|---|
| KO | 4 | 2.1 | 630 | 2.43 | 2055.8 |
| XOM | 4 | 4.12 | 618 | 2.48 | 2055.8 |
| JNJ | 4 | 5.28 | 475.2 | 2.06 | 2055.8 |
| MSFT | 4 | 3.64 | 163.8 | 0.69 | 2055.8 |
| AAPL | 4 | 1.06 | 127.2 | 0.32 | 2055.8 |
| NVDA | 4 | 0.52 | 41.6 | 0.22 | 2055.8 |
- Rows × columns
- 6 × 6
- 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 |
|---|---|---|---|
ticker |
text | 6 distinct values (AAPL, JNJ, KO…) | |
payment_count |
number | every row is 4 | count |
ttm_dividend_per_share |
number | 0.52 to 5.28 | |
ttm_income |
number | 41.6 to 630 | |
income_yield_pct |
number | 0.22 to 2.48 | percent |
blend_ttm_income |
number | every row is 2,055.8 |
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 holdings AS
(
SELECT 'AAPL' AS ticker, 120 AS shares
UNION ALL SELECT 'MSFT', 45
UNION ALL SELECT 'NVDA', 80
UNION ALL SELECT 'KO', 300
UNION ALL SELECT 'JNJ', 90
UNION ALL SELECT 'XOM', 150
),
marks AS
(
SELECT
ticker,
argMax(toFloat64(close), (date, _ingest_time)) AS last_close
FROM global_markets.stocks_daily_aggs
WHERE ticker IN ('AAPL', 'MSFT', 'NVDA', 'KO', 'JNJ', 'XOM')
AND date >= today() - 30
GROUP BY ticker
),
divs AS
(
SELECT
ticker,
ex_dividend_date,
max(toFloat64(cash_amount)) AS cash_amount
FROM global_markets.stocks_dividends
WHERE ticker IN ('AAPL', 'MSFT', 'NVDA', 'KO', 'JNJ', 'XOM')
AND currency = 'USD'
AND ex_dividend_date >= today() - 365
AND ex_dividend_date < today()
GROUP BY ticker, ex_dividend_date
),
ttm AS
(
SELECT
ticker,
count() AS payment_count,
sum(cash_amount) AS dps
FROM divs
GROUP BY ticker
),
income AS
(
SELECT
h.ticker AS ticker,
t.payment_count AS payment_count,
round(t.dps, 4) AS ttm_dividend_per_share,
round(h.shares * t.dps, 2) AS ttm_income,
round(100 * t.dps / m.last_close, 2) AS income_yield_pct
FROM holdings AS h
INNER JOIN ttm AS t ON t.ticker = h.ticker
INNER JOIN marks AS m ON m.ticker = h.ticker
)
SELECT
ticker,
payment_count,
ttm_dividend_per_share,
ttm_income,
income_yield_pct,
round(sum(ttm_income) OVER (), 2) AS blend_ttm_income
FROM income
ORDER BY ttm_income DESC
Work with this data in your AI assistant
Opens ready to query, with this page's data. Free, no account.