powered by
Creates a CDO tranche Object with the relevant info needed to calculate the Exposure-at-Default (EAD)
An object of type CDOTrance
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'
The attachment point of the tranche
The detachment point of the tranche
## a CDO trance object tr3 = CDOTranche(Notional=10000,MtM=0,Currency="USD",Si=0,Ei=5, BuySell='Buy',SubClass='IG',RefEntity='CDX.IG',cdo_attach_point=0.3 ,cdo_detach_point=0.5)
Run the code above in your browser using DataLab