fvfair-value
calculate_structured_product

trs

equity total-return swap

incomeclosed_formimplemented

Formula reference: Forward/DCF plus CVA/DVA

Inputs

NameTypeReqDescription
notionalnumber✓Contract notional/face amount in reporting currency.
spotnumber✓Spot price of the underlying (or FX rate for garman_kohlhagen).
maturitynumber✓Time to expiry in years (0.5 = six months); > 0.
risk_freenumber✓Continuously-compounded risk-free rate (decimal).
dividend_yieldnumber✓Continuous dividend yield (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":"trs"}'
MCP
// MCP tools/call
{ "name": "calculate_structured_product",
  "arguments": { "method": "trs" } }