Calculates the Exposure-At-Default (EAD) based on the given regulatory framework. It supports the CEM, IMM and (simplified) SA-CCR frameworks
calcEADRegulatory(
trades,
framework,
sa_ccr_simplified = "",
CSA,
collateral,
EEE,
time_points
)
The Exposure-At-Default
The full list of the Trade Objects
Specifies the regulatory framework used in the calculations. It can take the values of 'IMM', 'CEM', 'SA-CCR'
(Optional) Specifies whether the standard SACCR or its simplified version or the OEM will be implemented. It can take the values of '', 'simplified', 'OEM'
The margin agreement with the counterparty
The amount of collaterals currently exchanged with the counterparty
A vector containing the effective expected exposure against the counterparty
The timepoints that the analysis is performed on
Tasos Grivas <tasos@openriskcalculator.com>