Trailing year: calendar days a sale waited to settle
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-08-22, from Good Faith Violations in Cash Accounts.
| gap_label | sale_count | share_pct |
|---|---|---|
| 1 calendar day | 194 | 77.9 |
| 2 calendar days | 3 | 1.2 |
| 3 calendar days | 45 | 18.1 |
| 4 calendar days | 7 | 2.8 |
- Rows × columns
- 4 × 3
- 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 |
|---|---|---|---|
gap_label |
text | 4 distinct values | |
sale_count |
number | 3 to 194 | count |
share_pct |
number | 1.2 to 77.9 | percent |
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
concat(toString(gap_days), if(gap_days = 1, ' calendar day', ' calendar days')) AS gap_label,
count() AS sale_count,
round(100.0 * count() / sum(count()) OVER (), 1) AS share_pct
FROM
(
SELECT
dateDiff('day', date, leadInFrame(date) OVER (ORDER BY date ROWS BETWEEN 1 FOLLOWING AND 1 FOLLOWING)) AS gap_days
FROM
(
SELECT date
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'SPY'
AND date >= today() - 366
AND date <= today() - 3
GROUP BY date
)
)
WHERE gap_days > 0
GROUP BY gap_days
ORDER BY gap_days
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 analysisGood Faith Violations in Cash Accounts
Every session ahead, and the day a sale made in it settles
series 15×4
→
KO and AAPL closes across the July 2026 holiday week, with settlement dates
series 9×5
→
SPY realized volatility and worst session, by calendar year
ranking 20×4
→
The T+1 cutover, week by week: share of dividends with ex-date = record date, April–July 2024
ranking 18×3
→
Time value left in deep in-the-money SPY calls, against the dividend at stake
ranking 16×4
→
Recent household-name splits: shares from one share
ranking 15×4
→
See all 2,170 queries →