option_price_calculate
Calculates theoretical option prices with the Black-Scholes model using an option contract ID, implied volatility, and underlying price via the Interactive Brokers API.
Instructions
Calculate theoretical option price using Black-Scholes model via IB API.
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": {
"conId": "<conId>",
"volatility": "<volatility>",
"underPrice": "<underPrice>"
},
"name": "option_price_calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conId | Yes | Option contract ID | |
| symbol | No | ||
| secType | No | ||
| currency | No | ||
| exchange | No | ||
| underPrice | Yes | Underlying price | |
| volatility | Yes | Implied volatility (decimal, e.g. 0.30 for 30%) |