Calculates the xVA values (CVA, DVA, FVA, FBA, MVA, KVA)
xVACalculator(
trades,
CSA,
collateral,
sim_data,
reg_data,
credit_curve_PO,
credit_curve_cpty,
funding_curve,
spot_rates,
cpty_LGD,
PO_LGD,
no_simulations
)
A list containing the xVA values and the cva capital charge
The full list of the Trade Objects
The margin agreement with the counterparty
The amount of collateral currently exchanged with the counterparty
A list containing data related to the calculation of simulated exposures (for example the model parameters and the number of simulations)
A list containing data related to the regulatory calculations (for example the 'ccr_framework' member variable can be 'IMM','SACCR','CEM')
The credit curve of the processing organization
The credit curve of the processing organization
A curve containing the credit spread for the funding of the collateral
The spot rates curve
The loss-given-default of the counterparty
The loss-given-default of the processing organization
if true, no simulated exposure will be generated and the regulatory framework should be SA-CCR
Tasos Grivas <tasos@openriskcalculator.com>
Gregory J., The xVA Challenge, 2015, Wiley