load_option_chain
Fetch option chain data and load it into an SQL database for analysis using SQL queries. This tool enables structured querying of options data for the specified underlying symbol.
Instructions
Fetch option chain and load into SQL database for querying. Use this instead of get_option_chain when you need to analyze the data with SQL. After loading, use query_market_data to run SQL queries.
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>"
},
"name": "load_option_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Underlying stock symbol | |
| contract_type | No | Type of options to retrieve | ALL |
| strike_count | No | Number of strikes above and below ATM (default: all strikes) | |
| from_date | No | Start date for expirations (YYYY-MM-DD) | |
| to_date | No | End date for expirations (YYYY-MM-DD) |