powered by
Creates a Credit Index Object with the relevant info needed to calculate the Exposure-at-Default (EAD)
The notional amount of the trade
The mark-to-market valuation of the trade
The currency set that the belongs
The number of years after which the trade will start (zero if already started)
The number of years that the trade will expire
Takes the values of either 'Buy' or 'Sell'
An object of type CreditIndex
# NOT RUN { ## the CreditIndex trade given in the Basel regulation Credit example tr3 = CreditIndex(Notional=10000,MtM=0,Currency="USD",Si=0,Ei=5, BuySell='Buy',SubClass='IG',RefEntity='CDX.IG') # }
Run the code above in your browser using DataLab