Vanilla price
option_pricePrices vanilla European or American options with continuous dividends via optional QuantLib, returning per-unit premium and any degraded flag with its artifact path.
Instructions
Price a vanilla European or American option with optional QuantLib. Continuous dividends, premium per unit; no chain Greeks are changed. Before quoting any number from this result, state the degraded flag and its reason when the result carries one, and cite the artifact path it names.
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": {
"spot": "<spot>",
"strike": "<strike>",
"valuation_date": "<valuation_date>",
"expiry": "<expiry>",
"volatility": "<volatility>",
"rate": "<rate>",
"dividend_yield": "<dividend_yield>",
"kind": "<kind>",
"exercise_style": "<exercise_style>"
},
"name": "option_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| rate | Yes | ||
| spot | Yes | ||
| expiry | Yes | ||
| strike | Yes | ||
| volatility | Yes | ||
| dividend_yield | Yes | ||
| exercise_style | Yes | ||
| valuation_date | Yes |