public class FlatYieldGovvieCurve extends ExplicitBootGovvieCurve
Constructor and Description |
---|
FlatYieldGovvieCurve(int iEpochDate,
java.lang.String strTreasuryCode,
java.lang.String strCurrency,
int[] aiDate,
double[] adblYield)
Construct a Govvie curve from an array of dates and Yields
|
Modifier and Type | Method and Description |
---|---|
boolean |
bumpNodeValue(int iNodeIndex,
double dblValue)
Bump the node value at the node specified the index by the value
|
WengertJacobian |
jackDForwardDManifestMeasure(java.lang.String strManifestMeasure,
int iDate)
Retrieve the Manifest Measure Jacobian of the Forward Rate to the given date
|
boolean |
setFlatValue(double dblValue)
Set the flat value across all the nodes
|
boolean |
setNodeValue(int iNodeIndex,
double dblValue)
Set the Value/Slope at the Node specified by the Index
|
double |
yield(int iDate)
Calculate the Yield to the given Date
|
calibComp, manifestMeasure, setCCIS
currency, customTweakManifestMeasure, customTweakQuantificationMetric, dayCount, df, df, df, effectiveDF, effectiveDF, effectiveDF, epoch, freq, jackDForwardDManifestMeasure, jackDForwardDManifestMeasure, label, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, shiftManifestMeasure, yield, yield, yieldDF
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customTweakManifestMeasure, customTweakQuantificationMetric, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, shiftManifestMeasure
public FlatYieldGovvieCurve(int iEpochDate, java.lang.String strTreasuryCode, java.lang.String strCurrency, int[] aiDate, double[] adblYield) throws java.lang.Exception
iEpochDate
- Epoch DatestrTreasuryCode
- Treasury CodestrCurrency
- CurrencyaiDate
- Array of DatesadblYield
- Array of Yieldsjava.lang.Exception
- Thrown if the curve cannot be createdpublic double yield(int iDate) throws java.lang.Exception
YieldEstimator
iDate
- Datejava.lang.Exception
- Thrown if the Yield cannot be calculatedpublic boolean setNodeValue(int iNodeIndex, double dblValue)
ExplicitBootCurve
iNodeIndex
- Node IndexdblValue
- Node Valuepublic boolean bumpNodeValue(int iNodeIndex, double dblValue)
ExplicitBootCurve
iNodeIndex
- node indexdblValue
- node bump valuepublic boolean setFlatValue(double dblValue)
ExplicitBootCurve
dblValue
- node valuepublic WengertJacobian jackDForwardDManifestMeasure(java.lang.String strManifestMeasure, int iDate)
GovvieCurve
jackDForwardDManifestMeasure
in class GovvieCurve
strManifestMeasure
- Manifest MeasureiDate
- Date