get_option_chain
Fetch NSE option chain for an index or F&O stock, returning spot, expiry list, PCR, max-pain, top OI strikes, and a strike table with OI, OI change, IV, LTP, and volume. Defaults to nearest expiry.
Instructions
Option chain from NSE for an index (NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY) or an F&O stock. Returns spot, expiry list, put-call ratio (OI), max-pain strike, top OI strikes for calls (resistance) and puts (support), and a compact table of strikes around the money with OI, OI change, IV, LTP, volume. expiry format DD-Mon-YYYY (e.g. 29-Sep-2026); defaults to the nearest expiry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiry | No | ||
| symbol | No | NIFTY | |
| strikes_around | No |