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
symbolstrSymbol to get data for.False
providerLiteral['cboe', 'intrinio', 'tmx', 'tradier', 'yfinance']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: cboe, intrinio, tmx, tradier, yfinance.NoneTrue

Data​

NameTypeDescription
underlying_symbolstrUnderlying symbol for the option.
underlying_pricefloatPrice of the underlying stock.
contract_symbolstrContract symbol for the option.
eod_datedateDate for which the options chains are returned.
expirationdateExpiration date of the contract.
dteintDays to expiration of the contract.
strikefloatStrike price of the contract.
option_typestrCall or Put.
open_interestintOpen interest on the contract.
volumeintThe trading volume.
theoretical_pricefloatTheoretical value of the option.
last_trade_pricefloatLast trade price of the option.
last_trade_sizeintLast trade size of the option.
last_trade_timedatetimeThe timestamp of the last trade.
tickstrWhether the last tick was up or down in price.
bidfloatCurrent bid price for the option.
bid_sizeintBid size for the option.
bid_timedatetimeThe timestamp of the bid price.
bid_exchangestrThe exchange of the bid price.
askfloatCurrent ask price for the option.
ask_sizeintAsk size for the option.
ask_timedatetimeThe timestamp of the ask price.
ask_exchangestrThe exchange of the ask price.
markfloatThe mid-price between the latest bid and ask.
openfloatThe open price.
open_bidfloatThe opening bid price for the option that day.
open_askfloatThe opening ask price for the option that day.
highfloatThe high price.
bid_highfloatThe highest bid price for the option that day.
ask_highfloatThe highest ask price for the option that day.
lowfloatThe low price.
bid_lowfloatThe lowest bid price for the option that day.
ask_lowfloatThe lowest ask price for the option that day.
closefloatThe close price.
close_sizeintThe closing trade size for the option that day.
close_timedatetimeThe time of the closing price for the option that day.
close_bidfloatThe closing bid price for the option that day.
close_bid_sizeintThe closing bid size for the option that day.
close_bid_timedatetimeThe time of the bid closing price for the option that day.
close_askfloatThe closing ask price for the option that day.
close_ask_sizeintThe closing ask size for the option that day.
close_ask_timedatetimeThe time of the ask closing price for the option that day.
prev_closefloatThe previous close price.
changefloatThe change in the price of the option.
change_percentfloatChange, in normalized percentage points, of the option.
implied_volatilityfloatImplied volatility of the option.
deltafloatDelta of the option.
gammafloatGamma of the option.
thetafloatTheta of the option.
vegafloatVega of the option.
rhofloatRho of the option.