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

Good Faith Violations in Cash Accounts
Every session ahead, and the day a sale made in it settlesseries · 2026-11-07 · 15×4Preview: a 15-point series, roughly flat. KO and AAPL closes across the July 2026 holiday week, with settlement datesseries · 2026-11-07 · 9×5Preview: a 9-point series, ending higher. Trailing year: calendar days a sale waited to settleranking · 2026-11-07 · 4×3Preview: 4 ranked values, largest first.
Every session ahead, and the day a sale made in it settles

Every session ahead, and the day a sale made in it settles

most recentas of series 15×4read in context →
Every session ahead, and the day a sale made in it settles — 15 rows by 4 columns, computed from US exchange, SIP and OPRA data.
trade_datetraded_onsettles_oncalendar_days_to_settle
2026-11-09Mon, Nov 9Tue, Nov 101
2026-11-10Tue, Nov 10Wed, Nov 111
2026-11-11Wed, Nov 11Thu, Nov 121
2026-11-12Thu, Nov 12Fri, Nov 131
2026-11-13Fri, Nov 13Mon, Nov 163
2026-11-16Mon, Nov 16Tue, Nov 171
2026-11-17Tue, Nov 17Wed, Nov 181
2026-11-18Wed, Nov 18Thu, Nov 191
2026-11-19Thu, Nov 19Fri, Nov 201
2026-11-20Fri, Nov 20Mon, Nov 233
2026-11-23Mon, Nov 23Tue, Nov 241
2026-11-24Tue, Nov 24Wed, Nov 251
2026-11-25Wed, Nov 25Fri, Nov 272
2026-11-27Fri, Nov 27Mon, Nov 303
2026-11-30Mon, Nov 30Tue, Dec 11
the exact SQL behind every number
SELECT
    toString(s.d)                                                                                                    AS trade_date,
    concat(formatDateTime(s.d, '%a'), ', ', formatDateTime(s.d, '%b'), ' ', toString(toDayOfMonth(s.d)))              AS traded_on,
    concat(formatDateTime(s.next_open, '%a'), ', ', formatDateTime(s.next_open, '%b'), ' ', toString(toDayOfMonth(s.next_open))) AS settles_on,
    dateDiff('day', s.d, s.next_open)                                                                                AS calendar_days_to_settle
FROM
(
    SELECT
        d,
        leadInFrame(d) OVER (ORDER BY d ROWS BETWEEN 1 FOLLOWING AND 1 FOLLOWING) AS next_open
    FROM
    (
        SELECT d
        FROM
        (
            SELECT today() + arrayJoin(range(0, 45)) AS d
        )
        WHERE toDayOfWeek(d) BETWEEN 1 AND 5
          AND d NOT IN
          (
              SELECT date
              FROM global_markets.stocks_market_holidays
              WHERE status = 'closed'
          )
    )
) AS s
WHERE s.next_open > s.d
ORDER BY s.d
LIMIT 15
$