calculate_sacr_exposure
Calculate Basel III SA-CCR counterparty credit risk exposure, including replacement cost, potential future exposure, add-on, and exposure at default from derivative trades.
Instructions
Calculates Basel III / BCBS 279 Standardized Approach for Counterparty Credit Risk (SA-CCR) metrics: Replacement Cost (RC), Potential Future Exposure (PFE), Supervisory Add-on, Multiplier, and Exposure at Default (EAD = 1.4 * (RC + PFE)).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trades | Yes | List of derivative trades in the netting set | |
| threshold | No | Threshold amount under CSA | |
| is_margined | No | Whether the netting set is subject to bilateral margin / CSA agreement | |
| netting_set_id | Yes | Unique netting agreement identifier (e.g., 'NS-CITI-001') | |
| counterparty_id | Yes | Counterparty legal entity identifier or name | |
| collateral_posted | No | Total eligible collateral held (C) in USD | |
| minimum_transfer_amount | No | Minimum Transfer Amount (MTA) under CSA |