Simulate OTC Counterparty Credit Exposure Profile (EE, EPE, ENE, PFE)
simulate_exposure_profileUse whenever computing OTC counterparty credit risk profiles (EE, EPE, Effective EPE, ENE, PFE 95%/99%, peak exposure timing) for an IRS or CCS, or comparing mid-life humped IRS exposure vs maturity-peaking CCS notional re-exchange exposure.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"swap": "<swap>"
},
"name": "simulate_exposure_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Deterministic integer PRNG seed for reproducible Monte Carlo exposure profiles (default 42). | |
| swap | Yes | Underlying IRS or CCS trade specification. | |
| paths | No | Number of antithetic Monte Carlo simulation paths (250 to 5000, default 2000). | |
| fxVolPct | No | Optional annualized lognormal FX spot volatility in percent (e.g. 10.5 for 10.5%); defaults to active regimeId ATM FX vol for CCS and 0 for IRS. | |
| rateVolBps | No | Optional annualized Hull-White 1F normal short-rate volatility in bps (e.g. 85); defaults to active regimeId currency vol. | |
| meanReversion | No | Optional Hull-White 1F mean reversion speed a in decimal (e.g. 0.03); defaults to active regimeId. | |
| confidenceLevel | No | Potential Future Exposure (PFE) quantile confidence level (0.95 or default 0.99). | |
| foreignRateVolBps | No | Optional foreign currency Hull-White 1F normal short-rate volatility in bps; defaults to active regimeId. | |
| fxRateCorrelation | No | Correlation between domestic short-rate and FX spot shocks in [-0.95, 0.95] (default 0). |