Calculates the Exposure-At-Default (EAD) based on the given regulatory framework. It supports the CEM, SA-CCR and IMM frameworks
calcEAD(trades, framework, col, EEE, time_points)
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'
The margin agreement with the counterparty
A vector containing the effective expected exposure against the counterparty
The timepoints that the analysis is performed on
The Exposure-At-Default