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, wait
yield
public JulianDate epoch()
Curve
epoch
in interface Curve
epoch
in interface DiscountFactorEstimator
public java.lang.String currency()
Curve
public LatentStateLabel label()
Curve
public double yield(JulianDate dt) throws java.lang.Exception
YieldEstimator
yield
in interface YieldEstimator
dt
- Datejava.lang.Exception
- Thrown if the Yield cannot be calculatedpublic double yield(java.lang.String strTenor) throws java.lang.Exception
YieldEstimator
yield
in interface YieldEstimator
strTenor
- The Tenorjava.lang.Exception
- Thrown if the Yield cannot be calculatedpublic double df(int iDate) throws java.lang.Exception
DiscountFactorEstimator
df
in interface DiscountFactorEstimator
iDate
- Datejava.lang.Exception
- Thrown if the Discount Factor cannot be calculatedpublic double df(JulianDate dt) throws java.lang.Exception
DiscountFactorEstimator
df
in interface DiscountFactorEstimator
dt
- Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double df(java.lang.String strTenor) throws java.lang.Exception
DiscountFactorEstimator
df
in interface DiscountFactorEstimator
strTenor
- Tenorjava.lang.Exception
- Thrown if the Discount Factor cannot be calculatedpublic double effectiveDF(int iDate1, int iDate2) throws java.lang.Exception
DiscountFactorEstimator
effectiveDF
in interface DiscountFactorEstimator
iDate1
- First DateiDate2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double effectiveDF(JulianDate dt1, JulianDate dt2) throws java.lang.Exception
DiscountFactorEstimator
effectiveDF
in interface DiscountFactorEstimator
dt1
- 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
DiscountFactorEstimator
effectiveDF
in interface DiscountFactorEstimator
strTenor1
- First DatestrTenor2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double yieldDF(int iDate, double dblDCF) throws java.lang.Exception
YieldEstimator
yieldDF
in interface YieldEstimator
iDate
- DatedblDCF
- The Day Count Fractionjava.lang.Exception
- Thrown if the Discount Factor cannot be calculatedpublic boolean setCCIS(CurveConstructionInputSet ccis)
Curve
public CalibratableComponent[] calibComp()
Curve
public CaseInsensitiveTreeMap<java.lang.Double> manifestMeasure(java.lang.String strInstr)
Curve
manifestMeasure
in interface Curve
strInstr
- The Calibration Instrument's Code whose Manifest Measure Map is soughtpublic LatentState parallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)
LatentState
parallelShiftManifestMeasure
in interface LatentState
strManifestMeasure
- The Specified Manifest MeasuredblShift
- Parallel shift of the Manifest Measurepublic LatentState shiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)
LatentState
shiftManifestMeasure
in interface LatentState
iSpanIndex
- 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)
LatentState
customTweakManifestMeasure
in interface LatentState
strManifestMeasure
- The Specified Manifest Measurervtp
- Manifest Measure Tweak Parameterspublic LatentState parallelShiftQuantificationMetric(double dblShift)
LatentState
parallelShiftQuantificationMetric
in interface LatentState
dblShift
- Parallel shift of the Quantification Metricpublic LatentState customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
LatentState
customTweakQuantificationMetric
in interface LatentState
rvtp
- 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