Calculates the Valuation Adjustment based on the exposure, the probability-of-default and the loss-given-default
CalcVA(exposure, discount_factors, PD, LGD)
The Valuation Adjustment Value
A vector containing the exposure values on which the credit risk adjustment will be calculated
The Discount Curve
The probability-of-Default
The Loss-Given-Default
Tasos Grivas <tasos@openriskcalculator.com>