m.options.contract_details¶
The options contracts you name: call or put, exercise style, expiration, and strike.
Call it from a session m, made with dm.MassiveSession():
m.options.contract_details(symbols, *, as_of=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 perSymbol
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
symbols |
Option contracts to describe. |
as_of |
Reads each contract as it stood on this day; leave it out for today. |
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 | Contract Overview (REST) |
|---|---|
| Options Basic | Updated daily, 2 years |
| Options Starter | Updated daily, All history |
| Options Developer | Updated daily, All history |
| Options Advanced | Updated daily, All history |
| Options Business | Updated daily, All history |
Columns¶
| Column | Type | Description |
|---|---|---|
Symbol |
String | The row's instrument, as Massive's ticker. From REST ticker: "The ticker for the option 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. |
AdditionalUnderlyings |
String | If an option contract has additional underlyings or deliverables associated with it, they will appear here. See here (https://www.optionseducation.org/referencelibrary/faq/splits-mergers-spinoffs-bankruptcies) for some examples of what might cause a contract to have additional underlyings. The column holds Massive's value as JSON text. |
Cfi |
String | The 6 letter CFI code of the contract (defined in ISO 10962 (https://en.wikipedia.org/wiki/ISO_10962)) |
CompanyTicker |
String | KPI binary options only. The ticker of the company the KPI belongs to, like NFLX. |
ContractType |
String | The type of contract. Can be "put", "call", or in some rare cases, "other". |
Correction |
long | The correction number for this option 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. |
ExpirationDate |
String | The contract's expiration date in YYYY-MM-DD format. |
Metric |
String | KPI binary options only. The KPI the contract settles on, like "Earnings Per Share ($/share)". |
PrimaryExchange |
String | The MIC code of the primary exchange that this contract is listed on. |
ReportTime |
String | KPI binary options only. AM if the company reports before the market opens, PM if after it closes. |
ReportingPeriod |
String | KPI binary options only. The fiscal period the KPI is for, like 2026Q3. |
Scale |
long | KPI binary options only. The KPI value divided by scale gives the strike price, like 1000000000 for a KPI in billions. A negative scale means an inverted KPI, like Loss Per Share. |
SharesPerContract |
double | The number of shares per contract for this contract. |
StrikePrice |
double | The strike price of the option contract. |
Type |
String | The type of option contract: standard or binary. It can be missing, for example on contracts listed before this field was added, so a missing type says nothing about the contract. |
Underlying |
String | The instrument Massive lists the row under, as Massive's ticker. From REST underlying_ticker: "The underlying ticker that the option contract relates to." |
UnderlyingType |
String | What the contract is based on: kpi on Cboe KPI binary options, equity on NYSE American equity binary options (roots that start with B1). Missing on other contracts for now. |
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 |
OptionRoot |
ticker |
AdditionalUnderlyings |
additional_underlyings |
Cfi |
cfi |
CompanyTicker |
company_ticker |
ContractType |
contract_type |
Correction |
correction |
ExerciseStyle |
exercise_style |
ExpirationDate |
expiration_date |
Metric |
metric |
PrimaryExchange |
primary_exchange |
ReportTime |
report_time |
ReportingPeriod |
reporting_period |
Scale |
scale |
SharesPerContract |
shares_per_contract |
StrikePrice |
strike_price |
Type |
type |
Underlying |
underlying_ticker |
UnderlyingType |
underlying_type |
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.