fvfair-value
calculate_structured_product

inline_warrant_avg

inline range warrant settled on an n-day average

incomenumericimplemented

Formula reference: Range digital on averaged fixings (HKEX settlement)

Inputs

NameTypeReqDescription
notionalnumber✓Contract notional/face amount in reporting currency.
spotnumber✓Spot price of the underlying (or FX rate for garman_kohlhagen).
lower_strikenumber✓Lower strike of the range.
upper_strikenumber✓Upper strike of the range.
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.
payoutnumber✓Fixed payout when the range condition is met.
fixing_daysinteger✓Number of closing fixings averaged for settlement (>=1).

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":"inline_warrant_avg"}'
MCP
// MCP tools/call
{ "name": "calculate_structured_product",
  "arguments": { "method": "inline_warrant_avg" } }