fvfair-value
calculate_option

digital

fixed payout when the condition is met

incomeclosed_formimplemented

Formula reference: Cash-or-nothing digital

Inputs

NameTypeReqDescription
spotnumber✓Spot price of the underlying (or FX rate for garman_kohlhagen).
strikenumber✓Strike or exercise price in the same currency as spot.
maturitynumber✓Time to expiry in years (0.5 = six months); > 0.
risk_freenumber✓Continuously-compounded risk-free rate (decimal).
volatilitynumber✓Annualized volatility (decimal, 0.30 = 30%); > 0.
cash_payoutnumber✓Fixed cash amount paid when the digital condition is met.

Standards

Risks & limits

  • Deterministic model: the result is a point value with no modelled distribution; input error and model error are not quantified here.
REST
curl -s -X POST https://fair-value.ascent-partners.com/v1/calculate/calculate_option \
  -H 'content-type: application/json' \
  -d '{"method":"digital"}'
MCP
// MCP tools/call
{ "name": "calculate_option",
  "arguments": { "method": "digital" } }