Loading...

SA-CCR & xVA

Open-Sourced

About Us

Real world Quantitative Risk Software solutions

The tools provided have been developed based on multiple years of working experience in the financial industry. This is distributed among major financial software providers including Calypso Technologies, banks, hedge funds and consultancies.

With the first R package being published in October 2015, the solutions have matured over the past years via feedback received from professionals working in:

  • Tier I Banks.

  • Big Three Credit Ratings Agencies.

  • Major Buy Side Institutions.

  • Big Four Consultancies.

Also, academics from all around the world have utilised our systems and provided valuable feedback.

SA-CCR R Package

Computes the Exposure-At-Default based on the standardized approach of CRR2 (SA-CCR). Apart from the standard version, the simplified version of SA-CCR has also been included, as well as the OEM methodology. Multiple trade types of all the five major asset classes are being supported including the 'Other' Exposure and, given the inheritance- based structure of the application, the addition of further trade types is straightforward. The application returns a list of trees per Counterparty and CSA after automatically separating the trades based on the Counterparty, 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 papers (both for the margined and the un-margined workflow) have been implemented including the latest CRR2 developments. The above mentioned features have been coded in the R programming language and you can browse through its documentation or download it from R Studio (it appears on the package list as SACCR) .

Some of the features of the application:

  • A tree-based structure is returned as a result which makes drilling into the underlying calculations and the contribution of each trade straightforward.

  • The application automatically separates the trades on the corresponding hedging and netting sets.

  • The algorithm caters for the case of multiple netting agreements per counterparty.

  • The basis and volatility transaction are identified and the relevant penalty factors are applied.

  • Multiple features described in the FAQs and technical standards have been implemented, including the adjustments needed for the negative interest rates cases.

  • All the examples appearing on the regulatory paper (including the margined and the un-margined workflow) have been implemented.

SA-CCR Calculator

Below you can see a sample SA-CCR Calculator which is provided strictly for educational purposes. It supports only a single counterparty & netting set, please contact us for the full version.

xVA R Package

An implementation of the xVA world including CVA, DVA, FBA, FCA, MVA and KVA(under BA-CVA, SA-CVA and standard approach). xVA groups as an acronym all the possible credit risk valuation adjustments currently suggested in the market. Starting from CVA which incorporates the default risk of the counterparty in the market price of the trade, the industry proceeded with DVA which is actually the CVA as seen from the counterparty’s point of view and it further continued adding terms, for example FVA which represents the benefit/cost of funding the MtM of a trade due to imperfect collateralization, the MVA which is linked to the initial margin which needs to be posted to the counterparty or the CCP and the KVA which is the effect of the regulatory capital that banks need to hold for this transaction. You can find further info about xVA in in the latest book of Jon Gregory: “the xVA Challenge”. The latest regulatory capital charge methodologies have also been implemented including BA-CVA & SA-CVA. The above mentioned features have been coded in the R programming language and you can browse through its documentation or download it from R Studio (it appears on the package list as xVA).

Some of the features of the application:

  • 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 the following regulatory frameworks are supported: CEM, (simplified) SA-CCR, OEM and IMM.

  • The probability of default is implied through the credit spreads curve.

  • Currently, only IRSwaps are supported for the simulated-based exposure calculation, however, if the input from SA-CCR is utilized then multiple asset classes can be covered - please Contact us for further support.

Trading R Package

Contains performance analysis metrics of track records including entropy-based correlation and dynamic beta based on the Kalman filter. The normalized sample entropy method has been implemented which produces accurate entropy estimation even on smaller datasets while for the dynamic beta calculation the Kalman filter methodology has been utilized. On a separate stream, 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. Furthermore, odds calculators and P&L back-testing functionality has been implemented for the most widely used betting/trading strategies including martingale, DAlembert, Labouchere and Fibonacci. Some basic functionality about climate risk was also added in the latest version. The above mentioned features have been coded in the R programming language and you can browse through its documentation or download it from R Studio (it appears on the package list as Trading).

Real world Quantitative Risk Software based on solid working experience in the financial industry.

Copyright Open Risk Calculator 2015 - © All rights reserved | This template is made by Colorlib