Package: xVA 1.1

Tasos Grivas

xVA: Calculates Credit Risk Valuation Adjustments

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, (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 IRSwaps. The latest regulatory capital charge methodologies have been implementing including BA-CVA & SA-CVA.

Authors:Tasos Grivas

xVA_1.1.tar.gz
xVA_1.1.zip(r-4.5)xVA_1.1.zip(r-4.4)xVA_1.1.zip(r-4.3)
xVA_1.1.tgz(r-4.4-any)xVA_1.1.tgz(r-4.3-any)
xVA_1.1.tar.gz(r-4.5-noble)xVA_1.1.tar.gz(r-4.4-noble)
xVA_1.1.tgz(r-4.4-emscripten)xVA_1.1.tgz(r-4.3-emscripten)
xVA.pdf |xVA.html
xVA/json (API)

# Install 'xVA' in R:
install.packages('xVA', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/cranhaven/cranhaven.r-universe.dev/issues

On CRAN:

archivedpackagesr-universe

1.70 score 5 stars 1 scripts 240 downloads 14 exports 55 dependencies

Last updated 3 days agofrom:de7aa52200 (on package/xVA). Checks:OK: 7. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 20 2024
R-4.5-winOKOct 21 2024
R-4.5-linuxOKOct 20 2024
R-4.4-winOKOct 21 2024
R-4.4-macOKOct 22 2024
R-4.3-winOKOct 21 2024
R-4.3-macOKOct 22 2024

Exports:calcCVACapitalcalcDefCapitalcalcEADRegulatorycalcEffectiveMaturitycalcKVACalcNGRCalcPDCalcSimulatedExposureCalcVAIS_ELIGIBLE_CCYIS_IGLoadSupervisoryCVADataxVACalculatorxVACalculatorExample

Dependencies:cellrangerclicolorspacecpp11crayondata.tabledata.treefansifarverggplot2gluegmpgtableherehmsisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmePerformanceAnalyticspillarpkgconfigpngprettyunitsprogressquadprogR6rappdirsRColorBrewerRcppRcppAlgosRcppTOMLreadxlrematchreticulaterlangrprojrootSACCRscalesstringitibbleTradingutf8vctrsviridisLitewithrxtszoo