STRASMORE/EXPLORE 2,272 QUERIES

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

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-09-16, from Short Delivery Auction in India: NSE Rules.

as 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
Rows × columns
15 × 6
Period covered
to
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 Rule 204 close-out deadline for a short-sale fail, by trade date (US sessions, trailing weeks), derived from the stored result.
ColumnTypeRangeNotes
trade_date date 2026-08-24 to 2026-09-14
trade_weekday text 5 distinct values (Fri, Mon, Thu…)
settlement_date date 2026-08-25 to 2026-09-15
rule_204_deadline date 2026-08-26 to 2026-09-16
deadline_weekday text 5 distinct values (Fri, Mon, Thu…)
calendar_days_to_deadline number 2 to 5

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.

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

Run your own version of this

The same 22 years of US equities and 12 years of options data are queryable in SQL or plain English. A free account runs 100 queries a day and takes no card.

More from this analysisShort Delivery Auction in India: NSE Rules
SEBI's close-out formula applied to a US tape (AAPL, trailing three weeks, illustrative) series 14×4 Weekdays with a traded expiration: SPY, QQQ and IWM, trailing five weeks ranking 3×4 Near-dated versus long-dated SPY implied volatility, session by session series 81×3 SPY volume by ET clock minute around the open, 13 March vs 20 March 2026 series 46×3 Regular dividends: ex-date before the record date, or on it series 44×5 Cash dividends by month: did the record date land on the ex-dividend date? series 40×5 See all 2,272 queries →