STRASMORE/EXPLORE 2,272 QUERIES

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.

as of series 14×4read in context →
SEBI's close-out formula applied to a US tape (AAPL, trailing three weeks, illustrative) — 14 rows by 4 columns, computed from US exchange, SIP and OPRA data.
trade_datehighest_traded_two_sessionstwenty_pct_above_next_closeclose_out_price
2026-08-26315.43377.5377.5
2026-08-27322.37383.64383.64
2026-08-28322.37380.22380.22
2026-08-31327.3390.16390.16
2026-09-01328.4389.95389.95
2026-09-02330.81393.85393.85
2026-09-03330.81383.96383.96
2026-09-04328.93379.46379.46
2026-09-08320.7378.41378.41
2026-09-09326.74391.88391.88
2026-09-10336.22398.72398.72
2026-09-11336.22399.7399.7
2026-09-14335.5397.58397.58
2026-09-15331.94398.28398.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
Formats
JSON · CSV · the SQL below

What each column holds

Column definitions for SEBI's close-out formula applied to a US tape (AAPL, trailing three weeks, illustrative), derived from the stored result.
ColumnTypeRangeNotes
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 →