STRASMORE/EXPLORE 3,022 QUERIES

dist_by_year

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-04, from qqq-vs-spy-for-korean-investors.

as of ranking 11×4read in context →
dist_by_year — 11 rows by 4 columns, computed from US exchange, SIP and OPRA data.
yearqqq_usdspy_usdqqq_payout_count
20161.25334.5394
20171.30144.80214
20181.40535.10044
20191.58165.61844
20201.73655.6914
20211.69685.71824
20222.13516.32074
20232.53586.63385
20242.84657.0654
20252.79487.28114
20262.29775.58933
Rows × columns
11 × 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 dist_by_year, derived from the stored result.
ColumnTypeRangeNotes
year text 11 distinct values (2016, 2017, 2018…)
qqq_usd number 1.2533 to 2.8465 US dollars
spy_usd number 4.539 to 7.2811 US dollars
qqq_payout_count number 3 to 5 count

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 payouts AS
(
    SELECT
        ticker,
        id,
        any(ex_dividend_date)       AS ex_date,
        any(toFloat64(cash_amount)) AS amount
    FROM global_markets.stocks_dividends
    WHERE ticker IN ('QQQ', 'SPY')
      AND ex_dividend_date >= '2016-01-01'
      AND ex_dividend_date <  today()
    GROUP BY ticker, id
)
SELECT
    toString(toYear(ex_date))               AS year,
    round(sumIf(amount, ticker = 'QQQ'), 4) AS qqq_usd,
    round(sumIf(amount, ticker = 'SPY'), 4) AS spy_usd,
    countIf(ticker = 'QQQ')                 AS qqq_payout_count
FROM payouts
GROUP BY year
ORDER BY year
⌘/Ctrl + Enter

AI 어시스턴트에서 이 데이터로 작업하기

이 페이지의 데이터로 바로 쿼리할 수 있게 열립니다. 무료, 계정 불필요.