Condition code families defined for US stocks
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-07, from Trade Condition Codes Explained.
| condition_family | codes |
|---|---|
| sale condition | 40 |
| quote condition | 32 |
| financial status indicator | 10 |
| short sale restriction indicator | 4 |
| market condition | 2 |
| sip generated flag | 2 |
| settlement condition | 2 |
| trade thru exempt | 1 |
- Rows × columns
- 8 × 2
- 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 |
|---|---|---|---|
condition_family |
text | 8 distinct values | |
codes |
number | 1 to 40 |
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
replaceAll(type, '_', ' ') AS condition_family,
countDistinct(id) AS codes
FROM global_markets.stocks_condition_codes
WHERE asset_class = 'stocks'
GROUP BY condition_family
ORDER BY codes DESC
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 analysisTrade Condition Codes Explained
One AAPL session, every print grouped by its sale condition
ranking 12×3
→
Share of a session's prints carrying price-ineligible conditions
ranking 5×4
→
Two versions of the same AAPL session high, fifteen minutes at a time
series 26×3
→
Biggest stock losers this week (names trading $1B+, leveraged/inverse ETFs excluded)
ranking 10×4
→
Biggest stock gainers this week (names trading $1B+, leveraged/inverse ETFs excluded)
ranking 10×4
→
Odd lots, round lots and sub-one-share prints across six names, July 8 to 10, 2026
ranking 6×4
→
See all 2,170 queries →