Skip to content

m.options.exposure_by_underlying

Each underlying's daily options exposure, with its gamma flip and call and put walls.

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

m.options.exposure_by_underlying(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.REPLACE, which holds only the latest poll's rows, one row per Symbol and Date

Dataset index

Arguments

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

Argument Description
symbols Stock, ETF, or index tickers, such as "AAPL" or "I:SPX"; leave it out for every underlying.
start The first trading day.
end The last trading day.
sort Any of Massive's field names, such as "gamma_exposure". 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. Keys: none.
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 Exposure by Underlying (REST)
Options Basic Not included
Options Starter Not included
Options Developer Not included
Options Advanced End-of-day, All history
Options Business Not included
Options Exposure Business End-of-day, All history

Columns

Column Type Description
Symbol String The row's instrument, as Massive's ticker. From REST underlying_ticker: "The ticker of the underlying asset (e.g., AAPL). The values cover every root on the underlying asset." The underlying, with its I: prefix for an index (I:SPX), as in m.options.contracts(). If Massive's All Contracts list can't say whether a ticker is an index, the library leaves its rows out and lists them in m.problems() as unreadable_symbols. A ticker that names both a stock and an index (DJT) is classified by the first contract Massive lists for it, and the library can't tell whether Massive's row counts the stock's options, the index's, or both. A watchlist gets a row only under the spelling the library gives it: its row under the other spelling is left out, as an unrequested_symbols problem.
Date String The trading session the values apply to (formatted as YYYY-MM-DD). Open interest is for this session, published the next morning. Greeks are from 15 minutes before the close on date.
CallWall double The strike price at or above underlying_price with the largest call gamma exposure, summed over all expiration dates. If strike prices tie, the one nearest underlying_price. Null if no call contract at or above underlying_price has gamma exposure.
DeltaExposure double Delta exposure in dollars: the sum of open interest x 100 x delta x underlying_price. Put deltas are negative. Null if no contract has Greeks.
ExcludedOpenInterest long Open interest of binary options and of the contracts that do not have a standard deliverable of 100 shares, for example contracts adjusted after a corporate action. These contracts are not in any other field.
GammaExposure double Net gamma exposure in dollars per 1% move of the underlying price: the sum of open interest x 100 x gamma x underlying_price² x 0.01, with calls positive and puts negative. Null if no contract has Greeks.
GammaExposureCalls double Gamma exposure of the call contracts (positive). Null if no call contract has Greeks.
GammaExposurePuts double Gamma exposure of the put contracts (negative). Null if no put contract has Greeks.
GammaFlip double The price where the running sum of net gamma exposure changes sign. The sum runs over the strike prices from the lowest up, and the price is interpolated linearly between the two adjacent strike prices. If the sum changes sign more than once, the crossing nearest underlying_price. Strike prices without gamma exposure are skipped. Null if the sum does not change sign.
OpenInterest long Total open interest of the standard (not binary) contracts with a standard deliverable of 100 shares. m.options.open_interest_by_underlying() gives the same session's open interest the same Date, so for an underlying whose ExcludedOpenInterest is 0 the two match.
OpenInterestCalls long Total open interest of the standard (not binary) call contracts with a standard deliverable of 100 shares. m.options.open_interest_by_underlying() gives the same session's open interest the same Date, so for an underlying whose ExcludedOpenInterest is 0 the two match.
OpenInterestPuts long Total open interest of the standard (not binary) put contracts with a standard deliverable of 100 shares. m.options.open_interest_by_underlying() gives the same session's open interest the same Date, so for an underlying whose ExcludedOpenInterest is 0 the two match.
OpenInterestWithGreeks long Open interest of the contracts that count in the exposure values: contracts with open interest above 0 and a gamma and a delta.
PutCallRatio double open_interest_puts divided by open_interest_calls. Null if there is no call open interest.
PutWall double The strike price at or below underlying_price with the most negative put gamma exposure, summed over all expiration dates. If strike prices tie, the one nearest underlying_price. Null if no put contract at or below underlying_price has gamma exposure.
UnderlyingPrice double The underlying price used for the Greeks: the last SIP trade, or the last published index value, at or before 15 minutes before the close. Null if no contract has Greeks.
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 underlying_ticker
Date date
CallWall call_wall
DeltaExposure delta_exposure
ExcludedOpenInterest excluded_open_interest
GammaExposure gamma_exposure
GammaExposureCalls gamma_exposure_calls
GammaExposurePuts gamma_exposure_puts
GammaFlip gamma_flip
OpenInterest open_interest
OpenInterestCalls open_interest_calls
OpenInterestPuts open_interest_puts
OpenInterestWithGreeks open_interest_with_greeks
PutCallRatio put_call_ratio
PutWall put_wall
UnderlyingPrice underlying_price
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.