public class CreditPricerParams extends java.lang.Object implements PricerParams
Modifier and Type | Field and Description |
---|---|
static int |
PERIOD_DAY_STEPS_MINIMUM
Minimum number of days per unit
|
static int |
PERIOD_DISCRETIZATION_DAY_STEP
Discretization as a sequence of day steps
|
static int |
PERIOD_DISCRETIZATION_FULL_COUPON
No discretization at all - just the full coupon period
|
static int |
PERIOD_DISCRETIZATION_PERIOD_STEP
Discretization as a sequence of time space divided periods
|
Constructor and Description |
---|
CreditPricerParams(int iUnitSize,
CalibrationParams calibParams,
boolean bSurvToPayDate,
int iDiscretizationScheme)
Create the pricer parameters from the discrete unit size, calibration mode on/off, survival to
pay/end date, and the discretization scheme
|
Modifier and Type | Method and Description |
---|---|
CalibrationParams |
calibParams()
Retrieve the Calibration Parameters Instance
|
int |
discretizationScheme()
Retrieve the Discretization Scheme
|
static CreditPricerParams |
Standard()
Create the standard Credit pricer parameters object instance
|
boolean |
survivalToPayDate()
Retrieve the flag indicating whether the Survival is to be computed to the Pay Date (TRUE) or not
|
int |
unitSize()
Retrieve the Discretized Loss Unit Size
|
public static final int PERIOD_DAY_STEPS_MINIMUM
public static final int PERIOD_DISCRETIZATION_DAY_STEP
public static final int PERIOD_DISCRETIZATION_PERIOD_STEP
public static final int PERIOD_DISCRETIZATION_FULL_COUPON
public CreditPricerParams(int iUnitSize, CalibrationParams calibParams, boolean bSurvToPayDate, int iDiscretizationScheme)
iUnitSize
- Discretization Unit SizecalibParams
- Optional Calibration ParamsbSurvToPayDate
- Survival to Pay Date (True) or Period End Date (false)iDiscretizationScheme
- Discretization Scheme In Usepublic static final CreditPricerParams Standard()
public int unitSize()
public CalibrationParams calibParams()
public boolean survivalToPayDate()
public int discretizationScheme()