Skip to content

m.options.unusual_trades

Large trades and sweeps of US-listed options contracts, flagged by Massive.

Call it from a session m, made with dm.MassiveSession():

m.options.unusual_trades(symbols=None, *, start=None, end=None, sort=None, order=None, limit=None, filters=None, on_error=None)
  • Methods: fetch(), poll(interval)
  • Read from: REST
  • poll() by default: dm.PollMode.APPEND, which appends each row it hasn't seen, identified by Symbol, Timestamp and SequenceNumber

Dataset index

Arguments

A linked argument follows its rule under shared arguments on the dataset index.

Argument Description
symbols Option contracts; leave it out for every contract.
start The first instant, or the first day.
end The instant after the last, or the last day.
sort Any of Massive's field names, such as "size". Fields: any REST field under Massive fields.
order The direction of sort.
limit The most rows to return, in total. A watchlist's fetch() caps every request instead.
filters Further endpoint parameters. The range {"ticker_gte": "O:SPY261218", "ticker_lt": "O:SPY261219"} holds SPY's contracts that expire on 2026-12-18. Keys: ticker_gt, ticker_gte, ticker_lt, ticker_lte.
on_error What a bad symbol or row does in this call (dm.ErrorPolicy). None, the default, takes each cause from the session's MassiveConfig.on_error.

Plans

How recent the data is on each of Massive's plans, and how far back its history goes, as Massive's pages state them.

Plan Unusual Options Trades (REST)
Options Basic Not included
Options Starter Not included
Options Developer Not included
Options Advanced Real-time, All history
Options Business Not included
Real-time Unusual Options Trades Business Real-time, All history

Columns

Column Type Description
Symbol String The row's instrument, as Massive's ticker. From REST ticker: "The options ticker symbol (e.g., O:SPY260123C00687000)."
Date String The trading day of the row, as ISO yyyy-MM-dd text: the New York date of Timestamp.
Timestamp Instant The row's event time. From REST sip_timestamp: "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this trade from the exchange which produced it."
OptionRoot String The OCC root symbol of the contract (e.g., SPXW). Differs from the underlying for weekly roots and for contracts adjusted after a corporate action (e.g., AMCR1).
Price double The price of the trade. This is the price per share of the underlying, so the total dollar value of a trade is the price multiplied by the size and by the contract multiplier, which is typically 100 shares per contract.
Size long The size of a trade (also known as volume), in contracts.
Conditions long[] A list of condition codes. See Options Condition Codes (https://massive.com/docs/rest/options/market-operations/condition-codes) for what each code means.
Exchange long The exchange ID. See Exchanges (https://massive.com/docs/rest/options/market-operations/exchanges) for Massive's mapping of exchange IDs.
Flags String[] The unusual-activity cases the trade meets, as a list. Values: block_premium (notional premium of $100,000 or more), block_size (1,000 contracts or more), iso (intermarket sweep, condition 219). A trade that meets several cases carries every matching flag.
SequenceNumber long The sequence number represents the sequence in which trade events happened. These are increasing and unique per ticker symbol, but will not always be sequential. Values reset after each trading session/day.
Underlying String The instrument Massive lists the row under, as Massive's ticker. From REST underlying_ticker: "The ticker of the contract's underlying (e.g., SPX). Weekly and adjusted roots are folded in, so SPXW contracts report SPX and AMCR1 contracts report AMCR; see root to tell them apart." Massive's root is the OptionRoot column. An index has its I: prefix (I:SPX), as in m.options.contracts(). If Massive's Contract Overview can't say whether a root is an index, the library leaves its rows out and lists them in m.problems() as unreadable_symbols.
TimestampInsert Instant When the library received the row, by the local clock. Rows that arrive together share it. It isn't Massive's time, and later rows can carry earlier times. In a poll() table, it's the time of the poll the row's values came from.

Massive fields

The Massive field behind each column, by source. An empty cell means the source doesn't carry the column, or the library computes it.

Column REST field
Symbol ticker
Date
Timestamp sip_timestamp
OptionRoot root
Price price
Size size
Conditions conditions
Exchange exchange
Flags flags
SequenceNumber sequence_number
Underlying underlying_ticker
TimestampInsert

Massive's documentation


The plan tables and most column descriptions are Massive's, from its documentation as fetched on 2026-12-01, with a few corrected where Massive's are wrong. The library writes its own descriptions of the columns it names or computes, such as Symbol and TimestampInsert.