public abstract class RepoCurve extends java.lang.Object implements RepoEstimator, Curve
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LATENT_STATE_REPO
Repo Latent State
|
static java.lang.String |
QUANTIFICATION_METRIC_REPO_RATE
Basis Latent State Quantification Metric - Discount Factor
|
Modifier and Type | Method and Description |
---|---|
CalibratableComponent[] |
calibComp()
Retrieve the Calibration Components
|
Component |
component()
Retrieve the Repo-able Component
|
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
|
JulianDate |
epoch()
Get the Epoch Date
|
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
|
double |
repo(JulianDate dt)
Calculate the Repo Rate to the given Date
|
double |
repo(java.lang.String strTenor)
Calculate the Repo Rate to the given Tenor
|
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
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
repo
public static final java.lang.String LATENT_STATE_REPO
public static final java.lang.String QUANTIFICATION_METRIC_REPO_RATE
public JulianDate epoch()
Curve
public Component component()
RepoEstimator
component
in interface RepoEstimator
public LatentStateLabel label()
Curve
public java.lang.String currency()
Curve
public double repo(JulianDate dt) throws java.lang.Exception
RepoEstimator
repo
in interface RepoEstimator
dt
- Datejava.lang.Exception
- Thrown if the Repo Rate cannot be calculatedpublic double repo(java.lang.String strTenor) throws java.lang.Exception
RepoEstimator
repo
in interface RepoEstimator
strTenor
- The Tenorjava.lang.Exception
- Thrown if the Repo Rate 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 Parameters