Skip to main content

Options Chains


Implementation details​

Class names​

Model nameParameters classData class
OptionsChainsOptionsChainsQueryParamsOptionsChainsData

Import Statement​

from openbb_core.provider.standard_models.options_chains import (
OptionsChainsData,
OptionsChainsQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for.False
providerLiteral['cboe', 'intrinio']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default."cboe"True

Data​

NameTypeDescription
contract_symbolstrContract symbol for the option.
symbolstrSymbol representing the entity requested in the data. Here its the underlying symbol for the option.
expirationdateExpiration date of the contract.
strikefloatStrike price of the contract.
option_typestrCall or Put.
eod_datedateDate for which the options chains are returned.
closefloatThe close price.
close_bidfloatThe closing bid price for the option that day.
close_askfloatThe closing ask price for the option that day.
volumefloatThe trading volume.
openfloatThe open price.
open_bidfloatThe opening bid price for the option that day.
open_askfloatThe opening ask price for the option that day.
open_interestfloatOpen interest on the contract.
highfloatThe high price.
lowfloatThe low price.
markfloatThe mid-price between the latest bid-ask spread.
ask_highfloatThe highest ask price for the option that day.
ask_lowfloatThe lowest ask price for the option that day.
bid_highfloatThe highest bid price for the option that day.
bid_lowfloatThe lowest bid price for the option that day.
implied_volatilityfloatImplied volatility of the option.
deltafloatDelta of the option.
gammafloatGamma of the option.
thetafloatTheta of the option.
vegafloatVega of the option.