SEBI's close-out formula applied to a US tape (AAPL, trailing three weeks, illustrative)
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.
| trade_date | highest_traded_two_sessions | twenty_pct_above_next_close | close_out_price |
|---|---|---|---|
| 2026-08-26 | 315.43 | 377.5 | 377.5 |
| 2026-08-27 | 322.37 | 383.64 | 383.64 |
| 2026-08-28 | 322.37 | 380.22 | 380.22 |
| 2026-08-31 | 327.3 | 390.16 | 390.16 |
| 2026-09-01 | 328.4 | 389.95 | 389.95 |
| 2026-09-02 | 330.81 | 393.85 | 393.85 |
| 2026-09-03 | 330.81 | 383.96 | 383.96 |
| 2026-09-04 | 328.93 | 379.46 | 379.46 |
| 2026-09-08 | 320.7 | 378.41 | 378.41 |
| 2026-09-09 | 326.74 | 391.88 | 391.88 |
| 2026-09-10 | 336.22 | 398.72 | 398.72 |
| 2026-09-11 | 336.22 | 399.7 | 399.7 |
| 2026-09-14 | 335.5 | 397.58 | 397.58 |
| 2026-09-15 | 331.94 | 398.28 | 398.28 |
- Rows × columns
- 14 × 4
- Period covered
- to
- Computed
- Completeness
- No missing values
- Source
- US exchange, SIP and OPRA market data
- Licence
- Strasmore terms · free, no signup
What each column holds
| Column | Type | Range | Notes |
|---|---|---|---|
trade_date |
date | 2026-08-26 to 2026-09-15 | |
highest_traded_two_sessions |
number | 315.43 to 336.22 | |
twenty_pct_above_next_close |
number | 377.5 to 399.7 | percent |
close_out_price |
number | 377.5 to 399.7 | US dollars |
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(session_date) AS trade_date,
round(two_session_high, 2) AS highest_traded_two_sessions,
round(next_close * 1.2, 2) AS twenty_pct_above_next_close,
round(greatest(two_session_high, next_close * 1.2), 2) AS close_out_price
FROM
(
SELECT
session_date,
max(day_high) OVER (ORDER BY session_date ROWS BETWEEN CURRENT ROW AND 1 FOLLOWING) AS two_session_high,
anyLast(day_close) OVER (ORDER BY session_date ROWS BETWEEN CURRENT ROW AND 1 FOLLOWING) AS next_close,
count() OVER (ORDER BY session_date ROWS BETWEEN CURRENT ROW AND 1 FOLLOWING) AS sessions_in_frame
FROM
(
SELECT
date AS session_date,
max(toFloat64(high)) AS day_high,
max(toFloat64(close)) AS day_close
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'AAPL'
AND date >= today() - 21
GROUP BY date
)
)
WHERE sessions_in_frame = 2
ORDER BY session_date
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
Rule 204 close-out deadline for a short-sale fail, by trade date (US sessions, trailing weeks)
series 15×6
→
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 →