Learn R Programming

SACCR (version 1.5)

CalcRC: Calculates the RC

Description

Calculates the Replacement Cost(RC) and the sum of the MtMs for all the trades

Usage

CalcRC(trades, coll_agreement, current_collateral)

Arguments

trades
The full list of the Trade Objects
coll_agreement
(Optional) The collateral Agreement object covering the trade list
current_collateral
(Optional) The current value of the collateral posted from the counterparty to the processing org

Value

The replacement Cost and the sum of the MtMs

References

Basel Committee: The standardised approach for measuring counterparty credit risk exposures http://www.bis.org/publ/bcbs279.htm