STRASMORE/EXPLORE 2,985 QUERIES

yield_compare

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-03, from aapl-dividend-for-russian-investors.

as of ranking 6×4read in context →
yield_compare — 6 rows by 4 columns, computed from US exchange, SIP and OPRA data.
tickerdividend_12m_usdprice_usdyield_pct
AAPL1.06333.690.32
CVX7.05206.693.41
PG4.29144.912.96
KO2.185.652.45
JNJ5.28256.032.06
MSFT3.64517.530.7
Rows × columns
6 × 4
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_compare, derived from the stored result.
ColumnTypeRangeNotes
ticker text 6 distinct values (AAPL, CVX, JNJ…)
dividend_12m_usd number 1.06 to 7.05 US dollars
price_usd number 85.65 to 517.53 US dollars
yield_pct number 0.32 to 3.41 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.

SELECT
    d.ticker                                      AS ticker,
    round(d.dividend_12m, 2)                      AS dividend_12m_usd,
    round(p.last_close, 2)                        AS price_usd,
    round(100 * d.dividend_12m / p.last_close, 2) AS yield_pct
FROM
(
    SELECT
        ticker,
        toFloat64(sum(amount)) AS dividend_12m
    FROM
    (
        SELECT
            ticker,
            ex_dividend_date,
            max(cash_amount) AS amount
        FROM global_markets.stocks_dividends
        WHERE ticker IN ('AAPL', 'MSFT', 'KO', 'JNJ', 'CVX', 'PG')
          AND currency = 'USD'
          AND ex_dividend_date >  today() - 365
          AND ex_dividend_date <= today()
        GROUP BY ticker, ex_dividend_date
    )
    GROUP BY ticker
) AS d
INNER JOIN
(
    SELECT
        ticker,
        argMax(toFloat64(close), date) AS last_close
    FROM global_markets.stocks_daily_aggs
    WHERE ticker IN ('AAPL', 'MSFT', 'KO', 'JNJ', 'CVX', 'PG')
      AND date >= today() - 14
    GROUP BY ticker
) AS p ON d.ticker = p.ticker
ORDER BY d.ticker = 'AAPL' DESC, yield_pct DESC
⌘/Ctrl + Enter

Work with this data in your AI assistant

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