{
  "_id": "6a1ee611b401979e7341149a",
  "Package": "xVA",
  "Type": "Package",
  "Title": "Credit Risk Valuation Adjustments",
  "Version": "1.3",
  "Date": "2025-05-23",
  "Author": "Tasos Grivas [aut, cre]",
  "Authors@R": "person(given = \"Tasos\", \nfamily = \"Grivas\",\nrole = c(\"aut\", \"cre\"),\nemail = \"info@openriskcalculator.com\")",
  "Maintainer": "Tasos Grivas <info@openriskcalculator.com>",
  "Description": "Calculates a number of valuation adjustments including\nCVA, DVA, FBA, FCA, MVA and KVA. A two-way margin agreement has\nbeen implemented. For the KVA calculation four regulatory\nframeworks are supported: CEM, (simplified) SA-CCR, OEM and\nIMM. The probability of default is implied through the credit\nspreads curve. The package supports an exposure calculation\nbased on SA-CCR which includes several trade types and a\nsimulated path which is currently available only for Interest\nRate Swaps. The latest regulatory capital charge methodologies\nhave been implementing including BA-CVA & SA-CVA.",
  "License": "GPL-3",
  "URL": "https://openriskcalculator.com/",
  "Collate": "'CalcNGR.R' 'CalcPD.R' 'CalcSimulatedExposure.R' 'CalcVA.R'\n'GenerateTimeGrid.R' 'calcDefCapital.R' 'calcEADRegulatory.R'\n'calcEffectiveMaturity.R' 'calcKVA.R' 'xVACalculator.R'\n'xVACalculatorExample.R' 'onLoad.R' 'IS_ELIGIBLE_CCY.R'\n'IS_IG.R' 'LoadSupervisoryCVAData.R' 'calcCVACapital.R'",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.2",
  "Repository/R-Forge/Project": "ccr",
  "Repository/R-Forge/Revision": "65",
  "Repository/R-Forge/DateTimeStamp": "2022-08-27 16:52:51",
  "Packaged": {
    "Date": "2026-05-19 08:24:15 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "libgmp3-dev libicu-dev libpng-dev python3",
  "Repository": "https://sa-ccr.r-universe.dev",
  "Date/Publication": "2025-05-30 10:41:31 UTC",
  "RemoteUrl": "https://github.com/cran/xVA",
  "RemoteRef": "HEAD",
  "RemoteSha": "e20333023044ac73580ee810d6801dd1c206f9a5",
  "MD5sum": "eff92ac08aa3be3b8f7989dddf214b3f",
  "_user": "sa-ccr",
  "_type": "src",
  "_file": "xVA_1.3.tar.gz",
  "_fileid": "aaa8e50a24336ffd051d633be6231d973cd461ac3abf6dca69727ab94672c1f5",
  "_filesize": 119130,
  "_sha256": "aaa8e50a24336ffd051d633be6231d973cd461ac3abf6dca69727ab94672c1f5",
  "_created": "2026-05-19T08:24:15.000Z",
  "_published": "2026-06-02T14:17:53.565Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79092252227,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7078475515"
    },
    {
      "job": 79092253220,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078482109"
    },
    {
      "job": 79092252619,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7078481408"
    },
    {
      "job": 79092251914,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102205586"
    },
    {
      "job": 79092251377,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078421324"
    },
    {
      "job": 79092251284,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7360316208"
    },
    {
      "job": 79092252875,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7078457496"
    },
    {
      "job": 79092253051,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7078455104"
    },
    {
      "job": 79092253016,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078459181"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/xVA",
  "_commit": {
    "id": "e20333023044ac73580ee810d6801dd1c206f9a5",
    "author": "Tasos Grivas <info@openriskcalculator.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3\n",
    "time": 1748601691
  },
  "_maintainer": {
    "name": "Tasos Grivas",
    "email": "info@openriskcalculator.com",
    "login": "sa-ccr",
    "description": "",
    "uuid": 14264331
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "SACCR",
      "role": "Imports"
    },
    {
      "package": "Trading",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.3",
      "date": "2025-05-30"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "xvacode",
      "count": 5,
      "uuid": 15148994
    },
    {
      "user": "sa-ccr",
      "count": 1,
      "uuid": 14264331
    }
  ],
  "_userbio": {
    "uuid": 14264331,
    "type": "user",
    "name": "sa-ccr"
  },
  "_downloads": {
    "count": 587,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xVA"
  },
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/xVA.html",
    "manual.pdf"
  ],
  "_realowner": "sa-ccr",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.8",
      "date": "2016-01-20"
    },
    {
      "version": "0.8.1",
      "date": "2016-11-26"
    },
    {
      "version": "0.8.5",
      "date": "2020-08-30"
    },
    {
      "version": "1.0",
      "date": "2022-03-16"
    },
    {
      "version": "1.1",
      "date": "2022-08-27"
    },
    {
      "version": "1.3",
      "date": "2025-05-30"
    }
  ],
  "_exports": [
    "calcCVACapital",
    "calcDefCapital",
    "calcEADRegulatory",
    "calcEffectiveMaturity",
    "calcKVA",
    "CalcNGR",
    "CalcPD",
    "CalcSimulatedExposure",
    "CalcVA",
    "IS_ELIGIBLE_CCY",
    "IS_IG",
    "LoadSupervisoryCVAData",
    "xVACalculator",
    "xVACalculatorExample"
  ],
  "_help": [
    {
      "page": "calcCVACapital",
      "title": "Calculates the CVA Capital Charge",
      "topics": [
        "calcCVACapital"
      ]
    },
    {
      "page": "calcDefCapital",
      "title": "Calculates the Default Capital Charge",
      "topics": [
        "calcDefCapital"
      ]
    },
    {
      "page": "calcEADRegulatory",
      "title": "Calculates the Exposure-At-Default (EAD)",
      "topics": [
        "calcEADRegulatory"
      ]
    },
    {
      "page": "calcEffectiveMaturity",
      "title": "Calculates the Effective Maturity",
      "topics": [
        "calcEffectiveMaturity"
      ]
    },
    {
      "page": "calcKVA",
      "title": "Calculates the Capital Valuation Adjustment (KVA)",
      "topics": [
        "calcKVA"
      ]
    },
    {
      "page": "CalcNGR",
      "title": "Calculates the Net/Gross ratio (NGR)",
      "topics": [
        "CalcNGR"
      ]
    },
    {
      "page": "CalcPD",
      "title": "Calculates the Probablity of Default",
      "topics": [
        "CalcPD"
      ]
    },
    {
      "page": "CalcSimulatedExposure",
      "title": "Calculated the Simulated Exposure Profile",
      "topics": [
        "CalcSimulatedExposure"
      ]
    },
    {
      "page": "CalcVA",
      "title": "Calculates the Valuation Adjustment",
      "topics": [
        "CalcVA"
      ]
    },
    {
      "page": "IS_ELIGIBLE_CCY",
      "title": "Checks if specified currency is low risk",
      "topics": [
        "IS_ELIGIBLE_CCY"
      ]
    },
    {
      "page": "IS_IG",
      "title": "Checks if Credit rating is Investment Grade",
      "topics": [
        "IS_IG"
      ]
    },
    {
      "page": "LoadSupervisoryCVAData",
      "title": "Supervisory Data Loading",
      "topics": [
        "LoadSupervisoryCVAData"
      ]
    },
    {
      "page": "xVACalculator",
      "title": "Calculates the xVA values",
      "topics": [
        "xVACalculator"
      ]
    },
    {
      "page": "xVACalculatorExample",
      "title": "xVA calculation example",
      "topics": [
        "xVACalculatorExample"
      ]
    }
  ],
  "_rundeps": [
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "data.table",
    "data.tree",
    "farver",
    "ggplot2",
    "glue",
    "gmp",
    "gtable",
    "here",
    "hms",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "PerformanceAnalytics",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "progress",
    "quadprog",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppAlgos",
    "RcppTOML",
    "readxl",
    "rematch",
    "reticulate",
    "rlang",
    "rprojroot",
    "S7",
    "SACCR",
    "scales",
    "stringi",
    "tibble",
    "Trading",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xts",
    "zoo"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "xva",
  "_universes": [
    "sa-ccr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-05-19T08:26:36.000Z",
      "distro": "noble",
      "commit": "e20333023044ac73580ee810d6801dd1c206f9a5",
      "fileid": "98fb51908b55c0bcd4319cc3be2d40023b3ba25b62b74e8df104e94733bcb5fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-05-19T08:26:57.000Z",
      "distro": "noble",
      "commit": "e20333023044ac73580ee810d6801dd1c206f9a5",
      "fileid": "569e2007299f31ab11fb0dd43698e6e7de6193e38be03e6f8fbad93773368738",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3",
      "date": "2026-05-19T08:27:08.000Z",
      "commit": "e20333023044ac73580ee810d6801dd1c206f9a5",
      "fileid": "6e44f37df787ada827ac13ddf8272a2fb118be444f00efd0dc6ebdcf683a3596",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3",
      "date": "2026-05-20T05:46:05.000Z",
      "commit": "e20333023044ac73580ee810d6801dd1c206f9a5",
      "fileid": "df2e58e09e4ade6ef9ecc34eb70297dd44fd16a5bc0291d72b6ab3fa3c9cd3a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-05-19T08:25:39.000Z",
      "commit": "e20333023044ac73580ee810d6801dd1c206f9a5",
      "fileid": "db7ff8da105d7cb0b0b99e5e135016fb808a107ee83335e251d9dedf2f7520e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3",
      "date": "2026-05-19T08:25:33.000Z",
      "commit": "e20333023044ac73580ee810d6801dd1c206f9a5",
      "fileid": "754eef7f267712f35a7a6b5085cc29720febf6ed56a8328ae6700d95b1059ad1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-05-19T08:25:33.000Z",
      "commit": "e20333023044ac73580ee810d6801dd1c206f9a5",
      "fileid": "a2034730980073104beb9f030b29a35615d1c105db216a787e5a0dd1a1a91522",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3",
      "date": "2026-06-02T14:17:10.000Z",
      "commit": "e20333023044ac73580ee810d6801dd1c206f9a5",
      "fileid": "42822fe407e3196cf80c70ef94345b895b8cd934e2463eb0a62c26ef9dbcce03",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sa-ccr/actions/runs/26085248352"
    }
  ]
}