Learn R Programming

⚠️There's a newer version (1.1) of this package.Take me there.

xVA (version 0.8.1)

Calculates Credit Risk Valuation Adjustments

Description

Calculates a number of valuation adjustments including CVA, DVA, FBA, FCA, MVA and KVA. A two-way margin agreement has been implemented. For the KVA calculation three regulatory frameworks are supported: CEM, SA-CCR and IMM. The probability of default is implied through the credit spreads curve. Currently, only IRSwaps are supported. For more information, you can check one of the books regarding xVA: .

Copy Link

Version

Install

install.packages('xVA')

Monthly Downloads

474

Version

0.8.1

License

GPL-3

Maintainer

Tasos Grivas

Last Published

November 26th, 2016

Functions in xVA (0.8.1)

calcKVA

Calculates the Capital Valuation Adjustment (KVA)
xVACalculator

Calculates the xVA values
CalcPD

Calculates the Probablity of Default
CalcSimulatedExposure

Calculated the Simulated Exposure Profile
calcEffectiveMaturity

Calculates the Effective Maturity
CalcNGR

Calculates the Net/Gross ratio (NGR)
calcCVACapital

Calculates the CVA Capital Charge
calcDefCapital

Calculates the Default Capital Charge
xVACalculatorExample

xVA calculation example
CalcVA

Calculates the Valuation Adjustment
calcEAD

Calculates the Exposure-At-Default (EAD)