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