fvfair-value
calculate_structured_product

cfd

contract for difference

incomeclosed_formimplemented

Formula reference: Cash-settled price difference

Inputs

NameTypeReqDescription
notionalnumber✓Contract notional/face amount in reporting currency.
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).

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_structured_product \
  -H 'content-type: application/json' \
  -d '{"method":"cfd"}'
MCP
// MCP tools/call
{ "name": "calculate_structured_product",
  "arguments": { "method": "cfd" } }