Calculates the xVA values (CVA, DVA, FVA, FBA, MVA, KVA)
xVACalculator(trades, col, sim_data, reg_data, credit_curve_PO,
credit_curve_cpty, funding_curve, spot_rates, cpty_LGD, PO_LGD)
The full list of the Trade Objects
The margin agreement 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 'framework' member variable can be 'IMM','SACCR','CEM')
The credit curve of the processing organisation
The credit curve of the processing organisation
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 organisation
A list containing the xVA values
Gregory J., The xVA Challenge, 2015, Wiley