Skip to content

m.options.chain

The snapshot of every contract in one underlying's option chain.

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

m.options.chain(underlying, *, contract_type=None, sort=None, order=None, limit=None, filters=None, on_error=None)
  • Methods: fetch(), poll(interval)
  • Read from: REST
  • poll() by default: dm.PollMode.REPLACE, which holds only the latest poll's rows, one row per Symbol
  • poll(interval, mode=dm.PollMode.APPEND): appends each new state of a row, identified by Symbol, LastQuoteLastUpdated and LastTradeSipTimestamp

Dataset index

Arguments

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

Argument Description
underlying The underlying's exact Massive ticker, such as "AAPL" or "I:SPX". A table of stock or index tickers in a Symbol column works too. dm.ALL is refused; use snapshots(dm.ALL) for every contract.
contract_type dm.ContractType.CALL or PUT; leave it out for both.
sort "ticker", "expiration_date", or "strike_price".
order The direction of sort.
limit The most rows to return, in total. A table of underlyings caps every underlying's requests instead.
filters Further endpoint parameters, such as {"expiration_date": "2026-12-18"}. Keys: expiration_date, expiration_date_gt, expiration_date_gte, expiration_date_lt, expiration_date_lte, strike_price, strike_price_gt, strike_price_gte, strike_price_lt, strike_price_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 Option Chain Snapshot (REST)
Options Basic Not included
Options Starter 15-minute delayed
Options Developer 15-minute delayed
Options Advanced Real-time
Options Business Real-time

Columns

Column Type Description
Symbol String The row's instrument, as Massive's ticker. From REST details.ticker: "The ticker symbol for the asset. From the details object: The details for this contract."
OptionRoot String The OCC option root, read from Symbol: the symbol without its O: prefix and its last 15 characters (expiry, type, and strike), such as SPXW for O:SPXW251219C06000000. It is never mapped to the underlying: an adjusted contract keeps its own root, such as AAPL1.
BreakEvenPrice double The price of the underlying asset for the contract to break even. For a call, this value is (strike price + premium paid). For a put, this value is (strike price - premium paid).
TodaysChange double The value of the price change for the contract from the previous trading day. From the day object: The most recent daily bar for this contract.
TodaysChangePerc double The percent of the price change for the contract from the previous trading day. From the day object: The most recent daily bar for this contract.
DayOpen double The open price for the contract of the day. From the day object: The most recent daily bar for this contract.
DayHigh double The highest price for the contract of the day. From the day object: The most recent daily bar for this contract.
DayLow double The lowest price for the contract of the day. From the day object: The most recent daily bar for this contract.
DayClose double The closing price for the contract of the day. From the day object: The most recent daily bar for this contract.
DayVolume double The trading volume for the contract of the day. From the day object: The most recent daily bar for this contract.
DayVwap double The trading volume weighted average price for the contract of the day. From the day object: The most recent daily bar for this contract.
DayLastUpdated Instant The nanosecond timestamp of when this information was updated. From the day object: The most recent daily bar for this contract.
DayPreviousClose double The closing price for the contract of previous trading day. From the day object: The most recent daily bar for this contract.
ContractType String The type of contract. Can be "put", "call", or in some rare cases, "other". From the details object: The details for this contract.
ExerciseStyle String The exercise style of this contract. See this link (https://en.wikipedia.org/wiki/Option_style) for more details on exercise styles. From the details object: The details for this contract.
ExpirationDate String The contract's expiration date in YYYY-MM-DD format. From the details object: The details for this contract.
SharesPerContract double The number of shares per contract for this contract. From the details object: The details for this contract.
StrikePrice double The strike price of the option contract. From the details object: The details for this contract.
Fmv double Fair Market Value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, contact us (https://massive.com/contact).
FmvLastUpdated Instant If Fair Market Value (FMV) is available, this field is the nanosecond timestamp of the last FMV calculation.
Delta double Change in option price per $1 move in the underlying. From the greeks object: The greeks for this contract. There are certain circumstances where greeks will not be returned, such as options contracts that are deep in the money. See this article (https://massive.com/blog/greeks-and-implied-volatility/#testing) for more information.
Gamma double Change in delta per $1 move in the underlying. From the greeks object: The greeks for this contract. There are certain circumstances where greeks will not be returned, such as options contracts that are deep in the money. See this article (https://massive.com/blog/greeks-and-implied-volatility/#testing) for more information.
Theta double The change in the option's price per day. From the greeks object: The greeks for this contract. There are certain circumstances where greeks will not be returned, such as options contracts that are deep in the money. See this article (https://massive.com/blog/greeks-and-implied-volatility/#testing) for more information.
Vega double The change in the option's price per 1% increment in volatility. From the greeks object: The greeks for this contract. There are certain circumstances where greeks will not be returned, such as options contracts that are deep in the money. See this article (https://massive.com/blog/greeks-and-implied-volatility/#testing) for more information.
ImpliedVolatility double The market's forecast for the volatility of the underlying asset, based on this option's current price.
LastQuoteBidPrice double The bid price. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastQuoteBidSize double The bid size. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastQuoteAskPrice double The ask price. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastQuoteAskSize double The ask size. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastQuoteBidExchange long The bid side exchange ID. See Exchanges (https://massive.com/docs/rest/options/market-operations/exchanges) for Massive's mapping of exchange IDs. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastQuoteAskExchange long The ask side exchange ID. See Exchanges (https://massive.com/docs/rest/options/market-operations/exchanges) for Massive's mapping of exchange IDs. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastQuoteLastUpdated Instant The nanosecond timestamp of when this information was updated. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastQuoteMidpoint double The average of the bid and ask price. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastQuoteTimeframe String The time relevance of the data. From the last_quote object: The most recent quote for this contract. This is only returned if your current plan includes quotes.
LastTradePrice 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. From the last_trade object: The most recent trade for this contract. This is only returned if your current plan includes trades.
LastTradeSize long The size of a trade (also known as volume). From the last_trade object: The most recent trade for this contract. This is only returned if your current plan includes trades.
LastTradeConditions 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. From the last_trade object: The most recent trade for this contract. This is only returned if your current plan includes trades.
LastTradeExchange long The exchange ID. See Exchanges (https://massive.com/docs/rest/options/market-operations/exchanges) for Massive's mapping of exchange IDs. From the last_trade object: The most recent trade for this contract. This is only returned if your current plan includes trades.
LastTradeSipTimestamp Instant The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this trade from the exchange which produced it. From the last_trade object: The most recent trade for this contract. This is only returned if your current plan includes trades.
LastTradeTimeframe String The time relevance of the data. From the last_trade object: The most recent trade for this contract. This is only returned if your current plan includes trades.
OpenInterest double The quantity of this contract held at the end of the last trading day.
UnderlyingPrice double The price of the trade. This is the actual dollar value per whole share of this trade. A trade of 100 shares with a price of $2.00 would be worth a total dollar value of $200.00. From the underlying_asset object: Information on the underlying stock for this options contract. The market data returned depends on your current stocks plan.
UnderlyingValue double The value of the underlying index. From the underlying_asset object: Information on the underlying stock for this options contract. The market data returned depends on your current stocks plan.
UnderlyingChangeToBreakEven double The change in price for the contract to break even. From the underlying_asset object: Information on the underlying stock for this options contract. The market data returned depends on your current stocks plan.
UnderlyingLastUpdated Instant The nanosecond timestamp of when this information was updated. From the underlying_asset object: Information on the underlying stock for this options contract. The market data returned depends on your current stocks plan.
Underlying String The instrument Massive lists the row under, as Massive's ticker. From REST underlying_asset.ticker: "The ticker symbol for the contract's underlying asset. From the underlying_asset object: Information on the underlying stock for this options contract. The market data returned depends on your current stocks plan."
UnderlyingTimeframe String The time relevance of the data. From the underlying_asset object: Information on the underlying stock for this options contract. The market data returned depends on your current stocks plan.
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 details.ticker
OptionRoot details.ticker
BreakEvenPrice break_even_price
TodaysChange day.change
TodaysChangePerc day.change_percent
DayOpen day.open
DayHigh day.high
DayLow day.low
DayClose day.close
DayVolume day.volume
DayVwap day.vwap
DayLastUpdated day.last_updated
DayPreviousClose day.previous_close
ContractType details.contract_type
ExerciseStyle details.exercise_style
ExpirationDate details.expiration_date
SharesPerContract details.shares_per_contract
StrikePrice details.strike_price
Fmv fmv
FmvLastUpdated fmv_last_updated
Delta greeks.delta
Gamma greeks.gamma
Theta greeks.theta
Vega greeks.vega
ImpliedVolatility implied_volatility
LastQuoteBidPrice last_quote.bid
LastQuoteBidSize last_quote.bid_size
LastQuoteAskPrice last_quote.ask
LastQuoteAskSize last_quote.ask_size
LastQuoteBidExchange last_quote.bid_exchange
LastQuoteAskExchange last_quote.ask_exchange
LastQuoteLastUpdated last_quote.last_updated
LastQuoteMidpoint last_quote.midpoint
LastQuoteTimeframe last_quote.timeframe
LastTradePrice last_trade.price
LastTradeSize last_trade.size
LastTradeConditions last_trade.conditions
LastTradeExchange last_trade.exchange
LastTradeSipTimestamp last_trade.sip_timestamp
LastTradeTimeframe last_trade.timeframe
OpenInterest open_interest
UnderlyingPrice underlying_asset.price
UnderlyingValue underlying_asset.value
UnderlyingChangeToBreakEven underlying_asset.change_to_break_even
UnderlyingLastUpdated underlying_asset.last_updated
Underlying underlying_asset.ticker
UnderlyingTimeframe underlying_asset.timeframe
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.