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.
Input Schema
TableJSON 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) |