public class DiscountCurveScenarioContainer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DC_BASE
Base Discount Curve
|
static int |
DC_FLAT_DN
Discount Curve Parallel Bump Down
|
static int |
DC_FLAT_UP
Discount Curve Parallel Bump Up
|
static int |
DC_TENOR_DN
Discount Curve Tenor Bump Down
|
static int |
DC_TENOR_UP
Discount Curve Tenor Bump Up
|
Constructor and Description |
---|
DiscountCurveScenarioContainer(CalibratableComponent[] aCalibInst)
Constructs an DiscountCurveScenarioContainer instance from the corresponding
DiscountCurveScenarioGenerator
|
Modifier and Type | Method and Description |
---|---|
MergedDiscountForwardCurve |
base()
Return the base Discount Curve
|
MergedDiscountForwardCurve |
bumpDown()
Return the Bump Down Discount Curve
|
MergedDiscountForwardCurve |
bumpUp()
Return the Bump Up Discount Curve
|
boolean |
cookScenarioDC(ValuationParams valParams,
GovvieCurve gc,
double[] adblCalibQuote,
java.lang.String[] astrCalibMeasure,
double dblBump,
LatentStateFixingsContainer lsfc,
ValuationCustomizationParams vcp,
int iDCMode)
Generate the set of discount curves from the scenario specified, and the instrument quotes
|
CaseInsensitiveTreeMap<MergedDiscountForwardCurve> |
custom()
Return the Custom Discount curve map
|
CaseInsensitiveTreeMap<MergedDiscountForwardCurve> |
tenorBumpDown()
Return the map of the tenor Bump Down Discount Curve
|
CaseInsensitiveTreeMap<MergedDiscountForwardCurve> |
tenorBumpUp()
Return the map of the tenor Bump Up Discount Curve
|
public static final int DC_BASE
public static final int DC_FLAT_UP
public static final int DC_FLAT_DN
public static final int DC_TENOR_UP
public static final int DC_TENOR_DN
public DiscountCurveScenarioContainer(CalibratableComponent[] aCalibInst) throws java.lang.Exception
aCalibInst
- Array of calibration instrumentsjava.lang.Exception
- Thrown if the IRCurveScenarioGenerator instance is invalidpublic boolean cookScenarioDC(ValuationParams valParams, GovvieCurve gc, double[] adblCalibQuote, java.lang.String[] astrCalibMeasure, double dblBump, LatentStateFixingsContainer lsfc, ValuationCustomizationParams vcp, int iDCMode)
valParams
- Valuation Parametersgc
- The Govvie CurveadblCalibQuote
- Matched array of the calibration instrument quotesastrCalibMeasure
- Matched array of the calibration instrument measuresdblBump
- Amount of bump to be appliedlsfc
- Latent State Fixings Containervcp
- Valuation Customization ParametersiDCMode
- One of the values in the DC_ enum listed above.public MergedDiscountForwardCurve base()
public MergedDiscountForwardCurve bumpUp()
public MergedDiscountForwardCurve bumpDown()
public CaseInsensitiveTreeMap<MergedDiscountForwardCurve> tenorBumpUp()
public CaseInsensitiveTreeMap<MergedDiscountForwardCurve> tenorBumpDown()
public CaseInsensitiveTreeMap<MergedDiscountForwardCurve> custom()