STRASMORE/EXPLORE 2,170 QUERIES

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.

as of ranking 7×3read in context →
Trade condition codes that restrict high, low, and last — 7 rows by 3 columns, computed from US exchange, SIP and OPRA data.
condition_idcondition_namecondition_type
2Average Price Tradesale_condition
10Derivatively Pricedsale_condition
13Extended Hours (Sold Out Of Sequence)sale_condition
22Prior Reference Pricesale_condition
32Sold (Out Of Sequence)sale_condition
33Sold (Out of Sequence) and Stopped Stocksale_condition
37Odd Lot Tradesale_condition
Rows × columns
7 × 3
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 Trade condition codes that restrict high, low, and last, derived from the stored result.
ColumnTypeRangeNotes
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.

the exact SQL behind every number
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

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 analysisHow OHLCV Bars Are Built From Ticks
How many of the 390 session minutes each US symbol traded in ranking 10×2 SPY volume by minute into the close, June 10 2026 series 25×3 Odd lot share of prints and of volume, minute by minute series 15×4 One-minute AAPL bars rebuilt from individual trades, June 10 2026 series 15×6 Trading sessions per year under FB and META ranking 15×3 New listings landing on a symbol that already had history ranking 11×3 See all 2,170 queries →