Calculates the capital valuation adjustment by computing the default capital charge and the CVA capital charge and applying the required return-on-capital
calcKVA(
CSA,
collateral,
trades,
reg_data,
time_points,
EAD,
effective_maturity,
ignore_def_charge = TRUE
)
The capital valuation adjustment (KVA)
The margin agreement with the counterparty
The current amount of collaterals currently exchanged 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 Exposure-at-default calculated based on the prescribed framework as appearing in the 'reg_data'
The effective maturity of the trades performed with a specific counterparty
if set to true the default capital charge is set to zero
Tasos Grivas <tasos@openriskcalculator.com>