CalcVA: Calculates the Valuation Adjustment

View source: R/CalcVA.R

CalcVAR Documentation

Calculates the Valuation Adjustment

Description

Calculates the Valuation Adjustment based on the exposure, the probability-of-default and the loss-given-default

Usage

CalcVA(exposure, discount_factors, PD, LGD)

Arguments

exposure

A vector containing the exposure values on which the credit risk adjustment will be calculated

discount_factors

The Discount Curve

PD

The probability-of-Default

LGD

The Loss-Given-Default

Value

The Valuation Adjustment Value

Author(s)

Tasos Grivas <tasos@openriskcalculator.com>


xvacode/xVA documentation built on Oct. 23, 2022, 10:20 a.m.