Skip to main content

chains

Get the complete options chain for a ticker.

Examples

from openbb import obb
obb.derivatives.options.chains(symbol='AAPL', provider='intrinio')
# Use the "date" parameter to get the end-of-day-data for a specific date, where supported.
obb.derivatives.options.chains(symbol='AAPL', date=2023-01-25, provider='intrinio')

Parameters

symbol: str
Symbol to get data for.

Choices
  • BTC
  • ETH
  • SOL
  • XRP
  • BNB
  • PAXG

Returns

results: list[OptionsChains]

Serializable results.

provider: Optional[Literal['cboe', 'deribit', 'intrinio', 'tmx', 'tradier', 'yfinance']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

underlying_symbol: list[str]
Underlying symbol for the option.

underlying_price: list[float]
Price of the underlying stock.

contract_symbol: list[str]
Contract symbol for the option.

eod_date: list[date]
Date for which the options chains are returned.

expiration: list[date]
Expiration date of the contract.

dte: list[int]
Days to expiration of the contract.

strike: list[float]
Strike price of the contract.

option_type: list[str]
Call or Put.

contract_size: list[Union[int, float]]
Number of underlying units per contract.

open_interest: list[Union[int, float]]
Open interest on the contract.

volume: list[Union[int, float]]
The trading volume.

theoretical_price: list[float]
Theoretical value of the option.

last_trade_price: list[float]
Last trade price of the option.

last_trade_size: list[Union[int, float]]
Last trade size of the option.

last_trade_time: list[datetime]
The timestamp of the last trade.

tick: list[str]
Whether the last tick was up or down in price.

bid: list[float]
Current bid price for the option.

bid_size: list[Union[int, float]]
Bid size for the option.

bid_time: list[datetime]
The timestamp of the bid price.

bid_exchange: list[str]
The exchange of the bid price.

ask: list[float]
Current ask price for the option.

ask_size: list[Union[int, float]]
Ask size for the option.

ask_time: list[datetime]
The timestamp of the ask price.

ask_exchange: list[str]
The exchange of the ask price.

mark: list[float]
The mid-price between the latest bid and ask.

open: list[float]
The open price.

open_bid: list[float]
The opening bid price for the option that day.

open_ask: list[float]
The opening ask price for the option that day.

high: list[float]
The high price.

bid_high: list[float]
The highest bid price for the option that day.

ask_high: list[float]
The highest ask price for the option that day.

low: list[float]
The low price.

bid_low: list[float]
The lowest bid price for the option that day.

ask_low: list[float]
The lowest ask price for the option that day.

close: list[float]
The close price.

close_size: list[Union[int, float]]
The closing trade size for the option that day.

close_time: list[datetime]
The time of the closing price for the option that day.

close_bid: list[float]
The closing bid price for the option that day.

close_bid_size: list[Union[int, float]]
The closing bid size for the option that day.

close_bid_time: list[datetime]
The time of the bid closing price for the option that day.

close_ask: list[float]
The closing ask price for the option that day.

close_ask_size: list[Union[int, float]]
The closing ask size for the option that day.

close_ask_time: list[datetime]
The time of the ask closing price for the option that day.

prev_close: list[float]
The previous close price.

change: list[float]
The change in the price of the option.

change_percent: list[float]
Change, in normalized percentage points, of the option.

implied_volatility: list[float]
Implied volatility of the option.

delta: list[float]
Delta of the option.

gamma: list[float]
Gamma of the option.

theta: list[float]
Theta of the option.

vega: list[float]
Vega of the option.

rho: list[float]
Rho of the option.