R Development Page
Contributed R Packages
Below is a list of all packages provided by project Counterparty Credit Risk Management.
Important note for package binaries: R-Forge provides these binaries only for the most recent version of R, but not for older versions. In order to successfully install the packages provided on R-Forge, you have to switch to the most recent version of R or, alternatively, install from the package sources (.tar.gz).
SA Counterparty Credit Risk under Basel III
|Computes the Exposure-At-Default based on standardized approach of the Basel III Regulatory framework (SA-CCR). Currently, trade types of all the five major asset classes have been created and, given the inheritance- based structure of the application, the addition of further trade types is straightforward. The application returns a list of trees (one per CSA) after automatically separating the trades based on the CSAs, the hedging sets, the netting sets and the risk factors. The basis and volatility transactions are also identified and treated in specific hedging sets whereby the corresponding penalty factors are applied. All the examples appearing on the regulatory paper (including the margined and the un-margined workflow) have been implemented.|
|Version: 2.2 | Last change: 2017-01-03 20:13:24+01 | Rev.: 16|
|Download: (.tar.gz) | (.zip) | Build status: Current | Stable Release: Get SACCR 2.1 from CRAN|
R install command:
Trades, Curves, Rating Tables, Add-on Tables, CSAs
|Contains trades from the five major assets classes and also functionality to use pricing curves, rating tables, CSAs and add-on tables. The implementation follows an object oriented logic whereby each trade inherits from more abstract classes while also the curves/tables are objects. There is a lot of functionality focusing on the counterparty credit risk calculations however the package can be used for trading applications in general.|
|Version: 1.1 | Last change: 2016-11-29 21:08:18+01 | Rev.: 12|
|Download: (.tar.gz) | (.zip) | Build status: Current | Stable Release: Get Trading 1.1 from CRAN|
R install command:
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, 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: |
|Version: 0.8.1 | Last change: 2016-11-29 21:10:05+01 | Rev.: 13|
|Download: (.tar.gz) | (.zip) | Build status: Current | Stable Release: Get xVA 0.8.1 from CRAN|
R install command:
Build status codes
0 - Current: the package is available for download. The corresponding package passed checks on the Linux and Windows platform without ERRORs.
1 - Scheduled for build: the package has been recognized by the build system and provided in the staging area.
2 - Building: the package has been sent to the build machines. It will be built and checked using the latest patched version of R. Note that it is included in a batch of several packages. Thus, this process will take some time to finish.
3 - Failed to build: the package failed to build or did not pass the checks on the Linux and/or Windows platform. It is not made available since it does not meet the policies.
4 - Conflicts: two or more packages of the same name exist. None of them will be built. Maintainers are asked to negotiate further actions.
5 - Offline: the package is not available. The build system may be offline or the package maintainer did not trigger a rebuild (done e.g., via committing to the package repository).
If your package is not shown on this page or not building, then check the build system status report.