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

2,272 answered market questions

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

Short Delivery Auction in India: NSE Rules
Rule 204 close-out deadline for a short-sale fail, by trade date (US sessions, trailing weeks)series · 2026-09-16 · 15×6Preview: a 15-point series, roughly flat. SEBI's close-out formula applied to a US tape (AAPL, trailing three weeks, illustrative)series · 2026-09-16 · 14×4Preview: a 14-point series, ending higher.
Rule 204 close-out deadline for a short-sale fail, by trade date (US sessions, trailing weeks)

Rule 204 close-out deadline for a short-sale fail, by trade date (US sessions, trailing weeks)

most recentas of series 15×6read in context →
Rule 204 close-out deadline for a short-sale fail, by trade date (US sessions, trailing weeks) — 15 rows by 6 columns, computed from US exchange, SIP and OPRA data.
trade_datetrade_weekdaysettlement_daterule_204_deadlinedeadline_weekdaycalendar_days_to_deadline
2026-08-24Mon2026-08-252026-08-26Wed2
2026-08-25Tue2026-08-262026-08-27Thu2
2026-08-26Wed2026-08-272026-08-28Fri2
2026-08-27Thu2026-08-282026-08-31Mon4
2026-08-28Fri2026-08-312026-09-01Tue4
2026-08-31Mon2026-09-012026-09-02Wed2
2026-09-01Tue2026-09-022026-09-03Thu2
2026-09-02Wed2026-09-032026-09-04Fri2
2026-09-03Thu2026-09-042026-09-08Tue5
2026-09-04Fri2026-09-082026-09-09Wed5
2026-09-08Tue2026-09-092026-09-10Thu2
2026-09-09Wed2026-09-102026-09-11Fri2
2026-09-10Thu2026-09-112026-09-14Mon4
2026-09-11Fri2026-09-142026-09-15Tue4
2026-09-14Mon2026-09-152026-09-16Wed2
the exact SQL behind every number
SELECT
    toString(t_day)                     AS trade_date,
    formatDateTime(t_day, '%a')         AS trade_weekday,
    toString(s_day)                     AS settlement_date,
    toString(c_day)                     AS rule_204_deadline,
    formatDateTime(c_day, '%a')         AS deadline_weekday,
    dateDiff('day', t_day, c_day)       AS calendar_days_to_deadline
FROM
(
    SELECT
        session_date                                                                                AS t_day,
        anyLast(session_date) OVER (ORDER BY session_date ROWS BETWEEN CURRENT ROW AND 1 FOLLOWING) AS s_day,
        anyLast(session_date) OVER (ORDER BY session_date ROWS BETWEEN CURRENT ROW AND 2 FOLLOWING) AS c_day,
        count()               OVER (ORDER BY session_date ROWS BETWEEN CURRENT ROW AND 2 FOLLOWING) AS sessions_in_frame
    FROM
    (
        SELECT DISTINCT date AS session_date
        FROM global_markets.stocks_daily_aggs
        WHERE ticker = 'SPY'
          AND date >= today() - 24
    )
)
WHERE sessions_in_frame = 3
ORDER BY t_day
$