STRASMORE/EXPLORE 2,170 QUERIES

One AAPL session, every print grouped by its sale condition

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.

as of ranking 12×3read in context →
One AAPL session, every print grouped by its sale condition — 12 rows by 3 columns, computed from US exchange, SIP and OPRA data.
condition_namepct_of_printspct_of_shares
Odd Lot Trade65.836.37
Unmapped code 4129.1940.83
Intermarket Sweep25.1216.19
Regular way (no code)20.9630.49
Derivatively Priced3.861.39
Form T/Extended Hours2.577.85
Average Price Trade1.121.99
Cash Sale0.030
Stock Option0.010.14
Prior Reference Price0.015.36
Qualified Contingent Trade0.011.85
Seller00.02
Rows × columns
12 × 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 One AAPL session, every print grouped by its sale condition, derived from the stored result.
ColumnTypeRangeNotes
condition_name text 12 distinct values
pct_of_prints number 0 to 65.83 percent
pct_of_shares number 0 to 40.83 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
WITH
    (SELECT count()
       FROM global_markets.stocks_trades
      WHERE ticker = 'AAPL'
        AND sip_timestamp >= toDateTime('2026-06-17 08:00:00', 'UTC')
        AND sip_timestamp <  toDateTime('2026-06-18 00:00:00', 'UTC')) AS day_prints,
    (SELECT sum(size)
       FROM global_markets.stocks_trades
      WHERE ticker = 'AAPL'
        AND sip_timestamp >= toDateTime('2026-06-17 08:00:00', 'UTC')
        AND sip_timestamp <  toDateTime('2026-06-18 00:00:00', 'UTC')) AS day_shares
SELECT
    multiIf(t.code = -1,     'Regular way (no code)',
            c.code_name = '', concat('Unmapped code ', toString(t.code)),
            c.code_name)                        AS condition_name,
    round(100 * count() / day_prints, 2)        AS pct_of_prints,
    round(100 * sum(t.size) / day_shares, 2)    AS pct_of_shares
FROM
(
    SELECT
        size,
        arrayJoin(if(empty(conditions),
                     [toInt32(-1)],
                     arrayMap(x -> toInt32(x), conditions))) AS code
    FROM global_markets.stocks_trades
    WHERE ticker = 'AAPL'
      AND sip_timestamp >= toDateTime('2026-06-17 08:00:00', 'UTC')
      AND sip_timestamp <  toDateTime('2026-06-18 00:00:00', 'UTC')
) AS t
LEFT JOIN
(
    SELECT toInt32(id) AS code_id, any(name) AS code_name
    FROM global_markets.stocks_condition_codes
    WHERE asset_class = 'stocks'
      AND type = 'sale_condition'
    GROUP BY code_id
) AS c ON c.code_id = t.code
GROUP BY condition_name
ORDER BY pct_of_prints DESC
LIMIT 12

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
Condition code families defined for US stocks ranking 8×2 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 →