STRASMORE/EXPLORE 3,256 QUERIES

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

as of ranking 5×4read in context →
by_year — 5 rows by 4 columns, computed from US exchange, SIP and OPRA data.
yeargross_usdwithheld_usdnet_usd
20216.832.054.78
20227.292.195.1
20237.792.345.45
20248.352.55.84
20258.912.676.24
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 by_year, derived from the stored result.
ColumnTypeRangeNotes
year number 2,021 to 2,025
gross_usd number 6.83 to 8.91 US dollars
withheld_usd number 2.05 to 2.67 US dollars
net_usd number 4.78 to 6.24 US dollars

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
    toYear(ex_dividend_date)             AS year,
    round(toFloat64(sum(amt)), 2)        AS gross_usd,
    round(toFloat64(sum(amt)) * 0.30, 2) AS withheld_usd,
    round(toFloat64(sum(amt)) * 0.70, 2) AS net_usd
FROM
(
    SELECT
        ticker,
        ex_dividend_date,
        max(cash_amount) AS amt
    FROM global_markets.stocks_dividends
    WHERE ticker IN ('AAPL', 'CAT', 'KO')
      AND currency = 'USD'
      AND cash_amount > 0
      AND ex_dividend_date >= '2021-01-01'
      AND ex_dividend_date <  toStartOfYear(today())
    GROUP BY ticker, ex_dividend_date
)
GROUP BY year
HAVING count() >= 10
ORDER BY year
⌘/Ctrl + Enter

Работайте с этими данными в своём ИИ-ассистенте

Открывается готовым к запросам, с данными этой страницы. Бесплатно, без аккаунта.