powered by
Creates a CDS Object with the relevant info needed to calculate the Exposure-at-Default (EAD)
An object of type CDS
The notional amount of the trade
The mark-to-market valuation of the trade
The currency set that the trade belongs to
The number of years that the trade will take to start (zero if already started)
The number of years that the trade will expire
Takes the values of either 'Buy' or 'Sell'
Specifies the rating of the underlying entity (possible values are A, AA, BB etc)
The name of the underlying entity
Tasos Grivas <tasos@openriskcalculator.com>
Basel Committee: The standardised approach for measuring counterparty credit risk exposures http://www.bis.org/publ/bcbs279.htm
## the CDS trade given in the Basel regulation Credit example tr1 = CDS(Notional=10000,MtM=20,Currency="USD",Si=0,Ei=3,BuySell='Buy', SubClass='AA',RefEntity='FirmA')
Run the code above in your browser using DataLab