options
Fetches options chain data from the Yahoo Finance Options API.
Return
OptionsData containing options chain with calls, puts, and underlying quote information
Parameters
symbol
The stock symbol to query (e.g., "AAPL", "TSLA")
expiration Date
Optional expiration date as Unix timestamp in seconds. If null, returns the nearest expiration date.
Throws
If the API call fails or returns an error response