powered by
Creates a Bond object with the relevant info needed to calculate the Exposure-at-Default (EAD)
An object of type Bond
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)
Takes the values of either 'Buy' or 'Sell'
The yield of the Bond
The ISIN of the Bond,
the frequency that the bond pays coupon (Quarter, SA etc)
the maturity date of the bond
The coupon type of the bond (fixed, floating, flipper etc)
The percentage weight of the exposure of the bond that should be attributed to the 'Credit' asset class
The issuer of the bond
Tasos Grivas <tasos@openriskcalculator.com>
tr1 = Bond(Notional=10000,MtM=30,Currency="EUR",Si=0,maturity_date="2026-04-04", BuySell='Buy',payment_frequency="SA", credit_risk_weight=0.2,coupon_type="Fixed",Issuer="FirmA",ISIN = "XS0943423")
Run the code above in your browser using DataLab