# NOT RUN {
## the CreditSingle trade given in the Basel regulation Credit example
tr1 = CreditSingle(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