Reference OptionChainData and OptionContractDateMap types
The OptionChainData object represents a complete option chain, including metadata about the underlying asset, volatility, and interest rates. It contains two primary maps, putExpDateMap and callExpDateMap, both of which use the OptionContractDateMap type (a mapping of expiration date strings to arrays of OptionContractData).
OptionChainData Properties:
symbol: The ticker symbol.status: Status of the chain (e.g., "SUCCESS").underlying: Detailed information about the underlying asset.strategy: Trading strategy (e.g., "SINGLE").interval: The interval value.isDelayed: Boolean indicating if data is delayed.isIndex: Boolean indicating if the data relates to an index.interestRate: The current interest rate.underlyingPrice: Current price of the underlying asset.volatility: The volatility value.daysToExpiration: Number of days until expiration.numberOfContracts: Total number of contracts.putExpDateMap: Map of put expiration dates to contract data.callExpDateMap: Map of call expiration dates to contract data.