ib_option_chain
Retrieve option chain data from Interactive Brokers in real-time, including calls, puts, strikes, bids, asks, volume, and implied volatility. Requires a local TWS or IB Gateway connection.
Instructions
Get option chain data from Interactive Brokers with real-time quotes.
Returns calls and puts with strikes, bids, asks, volume, and implied volatility. Requires TWS or IB Gateway running locally.
Args: symbol: Ticker symbol expiry: Expiration date (YYYYMMDD) port: IB port (7496 for live, 7497 for paper)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>",
"expiry": "<expiry>"
},
"name": "ib_option_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| expiry | Yes | ||
| symbol | Yes |