get_options_chain
Retrieve grouped call and put options contracts for a stock or index underlying symbol, sorted by strike price. Automatically resolves expiration and root if omitted.
Instructions
Get grouped call and put options contract chain for a stock or index underlying symbol.
Returns a list of paired call/put contracts grouped by strike price, sorted from lowest to highest strike.
Expiration and Root Defaults:
If
expirationis omitted, automatically finds and uses the nearest future expiration date.If
rootis omitted, automatically resolves to the default options root (e.g. "AAPL" for Apple stock).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The TradingView underlying symbol, e.g. "NASDAQ:AAPL", "CME_MINI:NQ1!". | |
| expiration | No | Expiration date in YYYYMMDD format (e.g. 20260619). Defaults to nearest future expiration. | |
| root | No | Options root symbol (e.g. "AAPL"). Defaults to automatic resolution. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |