public class CDSBasketBuilder
extends java.lang.Object
Constructor and Description |
---|
CDSBasketBuilder() |
Modifier and Type | Method and Description |
---|---|
static BasketProduct |
MakeBasketDefaultSwap(Component[] aComp)
Create the basket default swap from an array of the credit components.
|
static BasketProduct |
MakeCDX(JulianDate dtEffective,
JulianDate dtMaturity,
double dblCoupon,
java.lang.String strIR,
java.lang.String[] astrCC,
double[] adblWeight,
java.lang.String strName)
Create the named CDX from effective, maturity, coupon, IR curve name, credit curve name set, and their
weights.
|
static BasketProduct |
MakeCDX(JulianDate dtEffective,
JulianDate dtMaturity,
double dblCoupon,
java.lang.String strIR,
java.lang.String[] astrCC,
java.lang.String strName)
Create the named CDX from effective, maturity, coupon, IR curve name, credit curve name set.
|
public static final BasketProduct MakeCDX(JulianDate dtEffective, JulianDate dtMaturity, double dblCoupon, java.lang.String strIR, java.lang.String[] astrCC, double[] adblWeight, java.lang.String strName)
dtEffective
- JulianDate EffectivedtMaturity
- JulianDate MaturitydblCoupon
- CouponstrIR
- IR curve nameastrCC
- credit curve nameadblWeight
- Credit Component WeightsstrName
- CDX namepublic static final BasketProduct MakeCDX(JulianDate dtEffective, JulianDate dtMaturity, double dblCoupon, java.lang.String strIR, java.lang.String[] astrCC, java.lang.String strName)
dtEffective
- JulianDate EffectivedtMaturity
- JulianDate MaturitydblCoupon
- CouponstrIR
- IR curve nameastrCC
- credit curve namestrName
- CDX namepublic static final BasketProduct MakeBasketDefaultSwap(Component[] aComp)
aComp
- Array of the credit components