Skip to content

xVA

Credit Risk Valuation Adjustments

v1.3 · May 30, 2025 · GPL-3

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 four regulatory frameworks are supported: CEM, (simplified) SA-CCR, OEM and IMM. The probability of default is implied through the credit spreads curve. The package supports an exposure calculation based on SA-CCR which includes several trade types and a simulated path which is currently available only for Interest Rate Swaps. The latest regulatory capital charge methodologies have been implementing including BA-CVA & SA-CVA.

Downloads

594

Last 30 days

6719th

1.8K

Last 90 days

6K

Last year

Trend: -10.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies SACCR Trading data.table xVA

Version History

new 1.3 Mar 10, 2026
updated 1.3 ← 1.1 diff May 29, 2025
updated 1.1 ← 1.0 diff Aug 27, 2022
updated 1.0 ← 0.8.5 diff Mar 15, 2022
updated 0.8.5 ← 0.8.1 diff Aug 29, 2020
updated 0.8.1 ← 0.8 diff Nov 25, 2016
new 0.8 Jan 19, 2016