get_options
Retrieve a Yahoo symbol's option chain: omit expiration to list available dates, or pass one to fetch the calls and puts for that date, centred on the current price.
Instructions
Get the option chain for a Yahoo symbol.
Call without expiration to list available expiration dates. Call with
an expiration (YYYY-MM-DD from that list) to get the calls and puts
for that date, up to 60 strikes each centred on the current price, with
truncated set when a wider chain was cut. Yahoo carries chains for
US-listed instruments only, so a non-US symbol has none and that says
nothing about the symbol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | A Yahoo ticker or an ISIN, e.g. 'AAPL', 'SAP.DE' or 'US0378331005'. For a company name, use 'search' first. | |
| expiration | No | Expiration date 'YYYY-MM-DD' from the list returned when called without it. Omit to list available expiration dates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||