Calculates the capital valuation adjustment by computing the default capital charge and the CVA capital charge and applying the required return-on-capital
calcKVA(exposure_profile, col, trades, reg_data, time_points)
The exposure profile list containing the EE, EEE etc
The margin agreement with the counterparty
The full list of the Trade Objects
A list containing data related to the regulatory calculations (for example the 'framework' member variable can be 'IMM','SACCR','CEM')
The timepoints that the analysis is performed on
The capital valuation adjustment (KVA)