cva_dva
credit valuation adjustment on an exposure profile
incomeclosed_formimplemented
Formula reference: CVA = sum DF*EE*PD*LGD
Inputs
| Name | Type | Req | Description |
|---|---|---|---|
| exposure_profile | array | ✓ | Expected exposure per period. |
| pd | number | ✓ | Probability of default over the horizon, in [0,1]. |
| lgd | number | ✓ | Loss given default in [0,1] (1 - recovery rate). |
| discount_rate | number | ✓ | Discount rate as a decimal (0.10 = 10%); pre-tax when method=viu_pre_tax. |
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_credit_loss \
-H 'content-type: application/json' \
-d '{"method":"cva_dva"}'MCP
// MCP tools/call
{ "name": "calculate_credit_loss",
"arguments": { "method": "cva_dva" } }