public abstract class GovvieCurve extends java.lang.Object implements DiscountCurve, YieldEstimator
| Modifier and Type | Method and Description |
|---|---|
CalibratableComponent[] |
calibComp()
Retrieve the Calibration Components
|
java.lang.String |
currency()
Get the Currency
|
LatentState |
customTweakManifestMeasure(java.lang.String strManifestMeasure,
ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Manifest Measure Tweak Parameters
|
LatentState |
customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Quantification Metric Tweak Parameters
|
java.lang.String |
dayCount()
Retrieve the Yield Day Count
|
double |
df(int iDate)
Calculate the Discount Factor to the given Date
|
double |
df(JulianDate dt)
Calculate the discount factor to the given date
|
double |
df(java.lang.String strTenor)
Calculate the Discount Factor to the given Tenor
|
double |
effectiveDF(int iDate1,
int iDate2)
Compute the time-weighted discount factor between 2 dates
|
double |
effectiveDF(JulianDate dt1,
JulianDate dt2)
Compute the time-weighted discount factor between 2 dates
|
double |
effectiveDF(java.lang.String strTenor1,
java.lang.String strTenor2)
Compute the time-weighted discount factor between 2 tenors
|
JulianDate |
epoch()
Get the Epoch Date
|
int |
freq()
Retrieve the Yield Frequency
|
abstract WengertJacobian |
jackDForwardDManifestMeasure(java.lang.String strManifestMeasure,
int iDate)
Retrieve the Manifest Measure Jacobian of the Forward Rate to the given date
|
WengertJacobian |
jackDForwardDManifestMeasure(java.lang.String strManifestMeasure,
JulianDate dt)
Retrieve the Manifest Measure Jacobian of the Forward Rate to the given date
|
WengertJacobian |
jackDForwardDManifestMeasure(java.lang.String strManifestMeasure,
java.lang.String strTenor)
Retrieve the Manifest Measure Jacobian of the Forward Rate to the date implied by the given Tenor
|
LatentStateLabel |
label()
Get the Curve Latent State Identifier Label
|
CaseInsensitiveTreeMap<java.lang.Double> |
manifestMeasure(java.lang.String strInstr)
Retrieve the Manifest Measure Map of the given Instrument used to construct the Curve
|
LatentState |
parallelShiftManifestMeasure(java.lang.String strManifestMeasure,
double dblShift)
Create a LatentState Instance from the Manifest Measure Parallel Shift
|
LatentState |
parallelShiftQuantificationMetric(double dblShift)
Create a LatentState Instance from the Quantification Metric Parallel Shift
|
boolean |
setCCIS(CurveConstructionInputSet ccis)
Set the Curve Construction Input Set Parameters
|
LatentState |
shiftManifestMeasure(int iSpanIndex,
java.lang.String strManifestMeasure,
double dblShift)
Create a LatentState Instance from the Shift of the Specified Manifest Measure
|
double |
yield(JulianDate dt)
Calculate the Yield to the given Date
|
double |
yield(java.lang.String strTenor)
Calculate the Yield to the Tenor implied by the given Date
|
double |
yieldDF(int iDate,
double dblDCF)
Calculate the Discount Factor to the given Date Using the specified DCF
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waityieldpublic JulianDate epoch()
Curveepoch in interface Curveepoch in interface DiscountFactorEstimatorpublic java.lang.String currency()
Curvepublic LatentStateLabel label()
Curvepublic double yield(JulianDate dt) throws java.lang.Exception
YieldEstimatoryield in interface YieldEstimatordt - Datejava.lang.Exception - Thrown if the Yield cannot be calculatedpublic double yield(java.lang.String strTenor)
throws java.lang.Exception
YieldEstimatoryield in interface YieldEstimatorstrTenor - The Tenorjava.lang.Exception - Thrown if the Yield cannot be calculatedpublic double df(int iDate)
throws java.lang.Exception
DiscountFactorEstimatordf in interface DiscountFactorEstimatoriDate - Datejava.lang.Exception - Thrown if the Discount Factor cannot be calculatedpublic double df(JulianDate dt) throws java.lang.Exception
DiscountFactorEstimatordf in interface DiscountFactorEstimatordt - Datejava.lang.Exception - Thrown if the discount factor cannot be calculatedpublic double df(java.lang.String strTenor)
throws java.lang.Exception
DiscountFactorEstimatordf in interface DiscountFactorEstimatorstrTenor - Tenorjava.lang.Exception - Thrown if the Discount Factor cannot be calculatedpublic double effectiveDF(int iDate1,
int iDate2)
throws java.lang.Exception
DiscountFactorEstimatoreffectiveDF in interface DiscountFactorEstimatoriDate1 - First DateiDate2 - Second Datejava.lang.Exception - Thrown if the discount factor cannot be calculatedpublic double effectiveDF(JulianDate dt1, JulianDate dt2) throws java.lang.Exception
DiscountFactorEstimatoreffectiveDF in interface DiscountFactorEstimatordt1 - First Datedt2 - Second Datejava.lang.Exception - Thrown if the discount factor cannot be calculatedpublic double effectiveDF(java.lang.String strTenor1,
java.lang.String strTenor2)
throws java.lang.Exception
DiscountFactorEstimatoreffectiveDF in interface DiscountFactorEstimatorstrTenor1 - First DatestrTenor2 - Second Datejava.lang.Exception - Thrown if the discount factor cannot be calculatedpublic double yieldDF(int iDate,
double dblDCF)
throws java.lang.Exception
YieldEstimatoryieldDF in interface YieldEstimatoriDate - DatedblDCF - The Day Count Fractionjava.lang.Exception - Thrown if the Discount Factor cannot be calculatedpublic boolean setCCIS(CurveConstructionInputSet ccis)
Curvepublic CalibratableComponent[] calibComp()
Curvepublic CaseInsensitiveTreeMap<java.lang.Double> manifestMeasure(java.lang.String strInstr)
CurvemanifestMeasure in interface CurvestrInstr - The Calibration Instrument's Code whose Manifest Measure Map is soughtpublic LatentState parallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)
LatentStateparallelShiftManifestMeasure in interface LatentStatestrManifestMeasure - The Specified Manifest MeasuredblShift - Parallel shift of the Manifest Measurepublic LatentState shiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)
LatentStateshiftManifestMeasure in interface LatentStateiSpanIndex - Index into the Span that identifies the InstrumentstrManifestMeasure - The Specified Manifest MeasuredblShift - Shift of the Manifest Measurepublic LatentState customTweakManifestMeasure(java.lang.String strManifestMeasure, ManifestMeasureTweak rvtp)
LatentStatecustomTweakManifestMeasure in interface LatentStatestrManifestMeasure - The Specified Manifest Measurervtp - Manifest Measure Tweak Parameterspublic LatentState parallelShiftQuantificationMetric(double dblShift)
LatentStateparallelShiftQuantificationMetric in interface LatentStatedblShift - Parallel shift of the Quantification Metricpublic LatentState customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
LatentStatecustomTweakQuantificationMetric in interface LatentStatervtp - Quantification Metric Tweak Parameterspublic int freq()
public java.lang.String dayCount()
public abstract WengertJacobian jackDForwardDManifestMeasure(java.lang.String strManifestMeasure, int iDate)
strManifestMeasure - Manifest MeasureiDate - Datepublic WengertJacobian jackDForwardDManifestMeasure(java.lang.String strManifestMeasure, JulianDate dt)
strManifestMeasure - Manifest Measuredt - Datepublic WengertJacobian jackDForwardDManifestMeasure(java.lang.String strManifestMeasure, java.lang.String strTenor)
strManifestMeasure - Manifest MeasurestrTenor - Tenor