public class ZeroRateDiscountCurve extends MergedDiscountForwardCurve
Constructor and Description |
---|
ZeroRateDiscountCurve(java.lang.String strCurrency,
Span span)
ZeroRateDiscountCurve constructor
|
Modifier and Type | Method and Description |
---|---|
CalibratableComponent[] |
calibComp()
Retrieve the Calibration Components
|
MergedDiscountForwardCurve |
customTweakManifestMeasure(java.lang.String strManifestMeasure,
ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Manifest Measure Tweak Parameters
|
Curve |
customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Quantification Metric Tweak Parameters
|
double |
df(int iDate)
Calculate the Discount Factor to the given Date
|
double |
forward(int iDate1,
int iDate2)
Compute the Forward Rate between two Dates
|
ForwardRateEstimator |
forwardRateEstimator(int iDate,
ForwardLabel fri)
Retrieve the Forward Curve that might be implied by the Latent State of this Discount Curve Instance
corresponding to the specified Floating Rate Index
|
WengertJacobian |
jackDDFDManifestMeasure(int iDate,
java.lang.String strManifestMeasure)
Retrieve the Manifest Measure Jacobian of the Discount Factor to the given date
|
java.lang.String |
latentStateQuantificationMetric()
Retrieve the Latent State Quantification Metric
|
CaseInsensitiveTreeMap<java.lang.Double> |
manifestMeasure(java.lang.String strInstrumentCode)
Retrieve the Manifest Measure Map of the given Instrument used to construct the Curve
|
ZeroRateDiscountCurve |
parallelShiftManifestMeasure(java.lang.String strManifestMeasure,
double dblShift)
Create a LatentState Instance from the Manifest Measure Parallel Shift
|
ZeroRateDiscountCurve |
parallelShiftQuantificationMetric(double dblShift)
Create a LatentState Instance from the Quantification Metric Parallel Shift
|
ZeroRateDiscountCurve |
shiftManifestMeasure(int iSpanIndex,
java.lang.String strManifestMeasure,
double dblShift)
Create a LatentState Instance from the Shift of the Specified Manifest Measure
|
double |
zero(int iDate)
Calculate the implied rate to the given date
|
canonicalTruthness, compJackDPVDManifestMeasure, compJackDPVDManifestMeasure, currency, df, df, effectiveDF, effectiveDF, effectiveDF, epoch, estimateManifestMeasure, forward, jackDDFDManifestMeasure, jackDDFDManifestMeasure, jackDForwardDManifestMeasure, jackDForwardDManifestMeasure, jackDForwardDManifestMeasure, label, libor, libor, libor, libor, nativeForwardCurve, parSwapDV01, setCCIS, setTurns, turnAdjust, zero, zeroRateJack, zeroRateJack
public ZeroRateDiscountCurve(java.lang.String strCurrency, Span span) throws java.lang.Exception
strCurrency
- Currencyspan
- The Span Instancejava.lang.Exception
- Thrown if the Inputs are Invalidpublic double df(int iDate) throws java.lang.Exception
DiscountFactorEstimator
iDate
- Datejava.lang.Exception
- Thrown if the Discount Factor cannot be calculatedpublic double forward(int iDate1, int iDate2) throws java.lang.Exception
MergedDiscountForwardCurve
forward
in class MergedDiscountForwardCurve
iDate1
- First DateiDate2
- Second Datejava.lang.Exception
- Thrown if the Forward Rate cannot be calculatedpublic double zero(int iDate) throws java.lang.Exception
MergedDiscountForwardCurve
zero
in class MergedDiscountForwardCurve
iDate
- Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic ForwardRateEstimator forwardRateEstimator(int iDate, ForwardLabel fri)
MergedDiscountForwardCurve
forwardRateEstimator
in class MergedDiscountForwardCurve
iDate
- The Datefri
- The Floating Rate Indexpublic java.lang.String latentStateQuantificationMetric()
MergedDiscountForwardCurve
latentStateQuantificationMetric
in class MergedDiscountForwardCurve
public ZeroRateDiscountCurve parallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)
LatentState
strManifestMeasure
- The Specified Manifest MeasuredblShift
- Parallel shift of the Manifest Measurepublic ZeroRateDiscountCurve shiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)
LatentState
iSpanIndex
- Index into the Span that identifies the InstrumentstrManifestMeasure
- The Specified Manifest MeasuredblShift
- Shift of the Manifest Measurepublic MergedDiscountForwardCurve customTweakManifestMeasure(java.lang.String strManifestMeasure, ManifestMeasureTweak rvtp)
LatentState
strManifestMeasure
- The Specified Manifest Measurervtp
- Manifest Measure Tweak Parameterspublic ZeroRateDiscountCurve parallelShiftQuantificationMetric(double dblShift)
LatentState
dblShift
- Parallel shift of the Quantification Metricpublic Curve customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
LatentState
rvtp
- Quantification Metric Tweak Parameterspublic WengertJacobian jackDDFDManifestMeasure(int iDate, java.lang.String strManifestMeasure)
MergedDiscountForwardCurve
jackDDFDManifestMeasure
in class MergedDiscountForwardCurve
iDate
- DatestrManifestMeasure
- Manifest Measurepublic CalibratableComponent[] calibComp()
Curve
public CaseInsensitiveTreeMap<java.lang.Double> manifestMeasure(java.lang.String strInstrumentCode)
Curve
strInstrumentCode
- The Calibration Instrument's Code whose Manifest Measure Map is sought