garman_kohlhagen
European FX option price
incomeclosed_formimplemented
Formula reference: Garman-Kohlhagen
Inputs
| Name | Type | Req | Description |
|---|---|---|---|
| spot | number | ✓ | Spot price of the underlying (or FX rate for garman_kohlhagen). |
| strike | number | ✓ | Strike or exercise price in the same currency as spot. |
| maturity | number | ✓ | Time to expiry in years (0.5 = six months); > 0. |
| domestic_rate | number | ✓ | Domestic continuously-compounded rate (decimal). |
| foreign_rate | number | ✓ | Foreign continuously-compounded rate (decimal). |
| volatility | number | ✓ | Annualized volatility (decimal, 0.30 = 30%); > 0. |
| option_type | string | ✓ | Option right. |
Standards
Risks & limits
- Deterministic model: the result is a point value with no modelled distribution; input error and model error are not quantified here.
Call it
Try in playground →REST
curl -s -X POST https://fair-value.ascent-partners.com/v1/calculate/calculate_option \
-H 'content-type: application/json' \
-d '{"method":"garman_kohlhagen"}'MCP
// MCP tools/call
{ "name": "calculate_option",
"arguments": { "method": "garman_kohlhagen" } }