STRASMORE/EXPLORE 2,173 QUERIES 22Y EQUITIES · 12Y OPTIONS

2,173 answered market questions

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

SEC EDGAR Index Gap: the Missing Month-Ends
Every weekday month-end since 2020: filings indexed on the month's last calendar daytable · 2026-07-26 · 55×2 Every weekday month-end since 2020 with fewer than 1,000 filings: count, companies touched, and the neighbouring days' averagetable · 2026-07-26 · 6×6 Filing counts on the last weekday of each 2026 month, with prior-year weekday month-ends as controlsranking · 2026-07-26 · 8×3Preview: 8 ranked values, largest first. Status receipt: the March and April boundary days, their arrival times, and their counts as of this runscalar · 2026-07-26 · 1×655 When each day's rows actually landed in the warehouse, June 26 to the front edgeranking · 2026-07-26 · 10×3Preview: 10 ranked values, largest first. Form types on the gap day (June 30, 2026) against the trading day before itranking · 2026-07-26 · 14×3Preview: 14 ranked values, smallest first. Is June 30, 2026 missing anywhere else? The same day across five date-keyed datasetsranking · 2026-07-26 · 5×3Preview: 5 ranked values, largest first.
Every weekday month-end since 2020: filings indexed on the month's last calendar day

Every weekday month-end since 2020: filings indexed on the month's last calendar day

most recentas of table 55×2read in context →
Every weekday month-end since 2020: filings indexed on the month's last calendar day — 55 rows by 2 columns, computed from US exchange, SIP and OPRA data.
month_endfilings
2020-01-313290
2020-03-313710
2020-04-304605
2020-06-304010
2020-07-314266
2020-08-312880
2020-09-302747
2020-11-302574
2020-12-312286
2021-03-314904
2021-04-306900
2021-05-310
2021-06-303034
2021-08-312787
2021-09-302682
2021-11-302407
2021-12-311
2022-01-314099
2022-02-287272
2022-03-315273
2022-05-314243
2022-06-302621
2022-08-312778
2022-09-302817
2022-10-313245
2022-11-302308
2023-01-313876
2023-02-287825
2023-03-315691
2023-05-313380
2023-06-303723
2023-07-313634
2023-08-313163
2023-10-313254
2023-11-302706
2024-01-313638
2024-02-296178
2024-04-304819
2024-05-313595
2024-07-313625
2024-09-303237
2024-10-313819
2024-12-312601
2025-01-313984
2025-02-287819
2025-03-315105
2025-04-30928
2025-06-303828
2025-07-313843
2025-09-303460
2025-10-313601
2025-12-312289
2026-03-3155
2026-04-3034
2026-06-3031
the exact SQL behind every number
WITH month_ends AS (
    SELECT arrayJoin(arrayMap(i -> toLastDayOfMonth(addMonths(toDate('2020-01-01'), i)), range(78))) AS me
),
daily AS (
    SELECT filing_date, uniqExact(accession_number) AS filings
    FROM global_markets.stocks_sec_edgar_index
    WHERE filing_date >= toDate('2020-01-01') AND filing_date <= toDate('2026-06-30')
    GROUP BY filing_date
)
SELECT toString(e.me) AS month_end, toUInt32(ifNull(d.filings, 0)) AS filings
FROM month_ends AS e
LEFT JOIN daily AS d ON d.filing_date = e.me
WHERE toDayOfWeek(e.me) <= 5
ORDER BY e.me
$