STRASMORE/EXPLORE 3,293 QUERIES 22Y EQUITIES · 12Y OPTIONS

3,293 answered market questions

every one with its exact SQL, its result and the date it was computed · free, no signup

Stock Split Calendar From a Free SQL API
Forward and reverse splits per month, last 36 monthsseries · 2026-11-07 · 36×4Preview: a 16-point series, ending higher. Most common split ratios, last three yearsranking · 2026-11-07 · 12×2Preview: 12 ranked values, largest first. Do the direction labels agree with the ratio columns?ranking · 2026-11-07 · 2×4Preview: 2 ranked values, smallest first. The stock split calendar: recent and scheduledtable · 2026-11-07 · 24×5
Portfolio Analysis in SQL: Weights to Drawdown
Position weights from last close times share counttable · 2026-11-07 · 6×6 Pairwise daily return correlation, trailing yearranking · 2026-11-07 · 15×2Preview: 15 ranked values, largest first. Weekly peak-to-trough drawdown of the blended portfolioseries · 2026-11-07 · 53×4Preview: a 16-point series, roughly flat. Trailing twelve-month dividend income by holdingtable · 2026-11-07 · 6×6 Cumulative weight and the Herfindahl concentration indexranking · 2026-11-07 · 6×4Preview: 6 ranked values, largest first.
Free SQL API for Stock Market Data
SPY implied volatility by days-to-expiry bucket, latest sessionranking · 2026-11-07 · 8×2Preview: 8 ranked values, smallest first. P/E ratios of US companies above $500B market capranking · 2026-11-07 · 12×2Preview: 12 ranked values, smallest first. KO: total cash dividends per share by yearranking · 2026-11-07 · 22×2Preview: 16 ranked values, smallest first.
Ex-Dividend Calendar from a Free SQL API
Liquid US names going ex-dividend in the next 14 daysranking · 2026-11-07 · 15×4Preview: 15 ranked values, largest first. Declared ex-dividend dates per week, next 12 weeksseries · 2026-11-07 · 12×3Preview: a 12-point series, ending lower. How far ahead dividends were declared, trailing 12 monthsranking · 2026-11-07 · 5×2Preview: 5 ranked values, smallest first.
Stock Correlation Matrix in One SQL Query
Daily bars per name against sessions shared with SPY, Oct 2025 to Sep 2026ranking · 2026-10-06 · 6×3Preview: 6 ranked values, largest first. AAPL and MSFT return correlation measured quarter by quarterranking · 2026-10-06 · 7×3Preview: 7 ranked values, largest first. Correlation of price levels against correlation of daily returns, same pairsranking · 2026-10-06 · 15×4Preview: 15 ranked values, largest first. Pairwise correlation of daily returns, six large caps, Oct 2025 to Sep 2026ranking · 2026-10-06 · 15×2Preview: 15 ranked values, largest first.
Forward and reverse splits per month, last 36 months

Forward and reverse splits per month, last 36 months

most recentas of series 36×4read in context →
Forward and reverse splits per month, last 36 months — 36 rows by 4 columns, computed from US exchange, SIP and OPRA data.
monthmonth_labelforward_splitsreverse_splits
2023-11-01Nov 2023476
2023-12-01Dec 20231987
2024-01-01Jan 2024875
2024-02-01Feb 2024975
2024-03-01Mar 20244480
2024-04-01Apr 20243095
2024-05-01May 20249100
2024-06-01Jun 20242086
2024-07-01Jul 2024984
2024-08-01Aug 20241193
2024-09-01Sep 20243881
2024-10-01Oct 20244291
2024-11-01Nov 202412132
2024-12-01Dec 20242470
2025-01-01Jan 2025789
2025-02-01Feb 202518110
2025-03-01Mar 20252592
2025-04-01Apr 20251694
2025-05-01May 202514108
2025-06-01Jun 202522113
2025-07-01Jul 20251081
2025-08-01Aug 202514101
2025-09-01Sep 202544106
2025-10-01Oct 20252496
2025-11-01Nov 20251386
2025-12-01Dec 202532145
2026-01-01Jan 20261179
2026-02-01Feb 20261598
2026-03-01Mar 202643148
2026-04-01Apr 202621108
2026-05-01May 202617125
2026-06-01Jun 202639124
2026-07-01Jul 202633131
2026-08-01Aug 20267117
2026-09-01Sep 202643122
2026-10-01Oct 202624103
the exact SQL behind every number
SELECT
    toString(toStartOfMonth(execution_date))               AS month,
    formatDateTime(toStartOfMonth(execution_date), '%b %Y') AS month_label,
    countIf(direction = 'forward')                         AS forward_splits,
    countIf(direction = 'reverse')                         AS reverse_splits
FROM
(
    SELECT
        execution_date,
        ticker,
        any(if(adjustment_type = 'forward_split', 'forward', 'reverse')) AS direction
    FROM global_markets.stocks_splits
    WHERE execution_date >= addMonths(toStartOfMonth(today()), -36)
      AND execution_date <  toStartOfMonth(today())
      AND split_from > 0
      AND split_to > 0
    GROUP BY execution_date, ticker
)
GROUP BY month, month_label
ORDER BY month
$