Trade condition codes that restrict high, low, and last
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-08, from How OHLCV Bars Are Built From Ticks.
| condition_id | condition_name | condition_type |
|---|---|---|
| 2 | Average Price Trade | sale_condition |
| 10 | Derivatively Priced | sale_condition |
| 13 | Extended Hours (Sold Out Of Sequence) | sale_condition |
| 22 | Prior Reference Price | sale_condition |
| 32 | Sold (Out Of Sequence) | sale_condition |
| 33 | Sold (Out of Sequence) and Stopped Stock | sale_condition |
| 37 | Odd Lot Trade | sale_condition |
- Rows × columns
- 7 × 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 |
|---|---|---|---|
condition_id |
number | 2 to 37 | |
condition_name |
text | 7 distinct values | |
condition_type |
text | 1 distinct value (sale_condition) |
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.
Run it yourself
This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.
SELECT
id AS condition_id,
any(name) AS condition_name,
any(type) AS condition_type
FROM global_markets.stocks_condition_codes
WHERE asset_class = 'stocks'
AND (positionCaseInsensitive(name, 'odd lot') > 0
OR positionCaseInsensitive(name, 'out of sequence') > 0
OR positionCaseInsensitive(name, 'derivatively') > 0
OR positionCaseInsensitive(name, 'average price') > 0
OR positionCaseInsensitive(name, 'prior reference') > 0)
GROUP BY id
ORDER BY id
Work with this data in your AI assistant
Opens ready to query, with this page's data. Free, no account.