STRASMORE/EXPLORE 3,293 QUERIES

yield_gap

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-16, from us-dividend-tax-for-pakistani-investors.

as of ranking 6×3read in context →
yield_gap — 6 rows by 3 columns, computed from US exchange, SIP and OPRA data.
tickergross_yield_pctnet_yield_pct
CVX3.192.24
PG2.721.9
KO2.261.58
JNJ2.071.45
MSFT0.670.47
AAPL0.310.22
Rows × columns
6 × 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 yield_gap, derived from the stored result.
ColumnTypeRangeNotes
ticker text 6 distinct values (AAPL, CVX, JNJ…)
gross_yield_pct number 0.31 to 3.19 percent
net_yield_pct number 0.22 to 2.24 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(toFloat64(d.ttm_dividend) / toFloat64(p.last_close) * 100, 2) AS gross_yield_pct,
    round(toFloat64(d.ttm_dividend) / toFloat64(p.last_close) * 70, 2)  AS net_yield_pct
FROM
(
    SELECT
        ticker,
        sum(cash_amount) AS ttm_dividend
    FROM
    (
        SELECT
            ticker,
            ex_dividend_date,
            max(cash_amount) AS cash_amount
        FROM global_markets.stocks_dividends
        WHERE ticker IN ('AAPL', 'MSFT', 'JNJ', 'KO', 'PG', 'CVX')
          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(close, date) AS last_close
    FROM global_markets.stocks_daily_aggs
    WHERE ticker IN ('AAPL', 'MSFT', 'JNJ', 'KO', 'PG', 'CVX')
      AND date >= today() - 30
    GROUP BY ticker
) AS p ON p.ticker = d.ticker
ORDER BY gross_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.