STRASMORE/EXPLORE 2,170 QUERIES

A five-name portfolio: share of value against share of income

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 Portfolio Dividend Yield: Weighted Average.

as of ranking 5×4read in context →
A five-name portfolio: share of value against share of income — 5 rows by 4 columns, computed from US exchange, SIP and OPRA data.
symbolweight_pctincome_share_pctyield_pct
MSFT29.910.20.76
XOM27.430.72.49
KO18.719.42.3
PG17.8243
VZ6.115.65.7
Rows × columns
5 × 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 A five-name portfolio: share of value against share of income, derived from the stored result.
ColumnTypeRangeNotes
symbol text 5 distinct values (KO, MSFT, PG…)
weight_pct number 6.1 to 29.9 percent
income_share_pct number 10.2 to 30.7 percent
yield_pct number 0.76 to 5.7 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.

the exact SQL behind every number
WITH
    positions AS
    (
        SELECT
            tupleElement(p, 1)            AS ticker,
            toFloat64(tupleElement(p, 2)) AS shares
        FROM
        (
            SELECT arrayJoin([('MSFT', 30.), ('PG', 60.), ('XOM', 80.), ('KO', 100.), ('VZ', 60.)]) AS p
        )
    ),
    last_px AS
    (
        SELECT
            ticker,
            toFloat64(argMax(close, date)) AS px
        FROM global_markets.stocks_daily_aggs
        WHERE ticker IN ('MSFT', 'PG', 'XOM', 'KO', 'VZ')
          AND date >= today() - 30
        GROUP BY ticker
    ),
    ttm_dps AS
    (
        SELECT
            ticker,
            sum(amount) AS dps
        FROM
        (
            SELECT
                ticker,
                id,
                toFloat64(any(cash_amount)) AS amount
            FROM global_markets.stocks_dividends
            WHERE ticker IN ('MSFT', 'PG', 'XOM', 'KO', 'VZ')
              AND ex_dividend_date >  today() - 365
              AND ex_dividend_date <= today()
            GROUP BY ticker, id
        )
        GROUP BY ticker
    ),
    holding AS
    (
        SELECT
            pos.ticker         AS ticker,
            pos.shares * lp.px AS value_usd,
            pos.shares * d.dps AS income_usd
        FROM positions AS pos
        INNER JOIN last_px AS lp ON lp.ticker = pos.ticker
        INNER JOIN ttm_dps AS d  ON d.ticker  = pos.ticker
    )
SELECT
    h.ticker                                      AS symbol,
    round(100 * h.value_usd  / t.total_value,  1) AS weight_pct,
    round(100 * h.income_usd / t.total_income, 1) AS income_share_pct,
    round(100 * h.income_usd / h.value_usd,    2) AS yield_pct
FROM holding AS h
CROSS JOIN
(
    SELECT
        sum(value_usd)  AS total_value,
        sum(income_usd) AS total_income
    FROM holding
) AS t
ORDER BY weight_pct DESC

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 analysisPortfolio Dividend Yield: Weighted Average
Trailing 12-month dividend yield across ten household payers ranking 10×4 Two averages of the same five holdings ranking 2×2 Dividend income from the five-name portfolio, by month series 12×3 S&P 500 tracker distributions per share, by calendar year (2015-2025) ranking 11×3 Conagra (CAG): price, quarterly dividend, and yield, month-end 2023-07 to 2026-06 series 36×5 Capital needed for $12,000 a year of distributions, by fund yield table 10×5 See all 2,170 queries →