Package org.drip.state.repo
Class RepoCurve
java.lang.Object
org.drip.state.repo.RepoCurve
- All Implemented Interfaces:
Curve,RepoEstimator,LatentState
- Direct Known Subclasses:
BasisSplineRepoCurve,ExplicitBootRepoCurve
public abstract class RepoCurve extends java.lang.Object implements RepoEstimator, Curve
RepoCurve is the Stub for the Re-purchase Rate between applicable to the Specified Entity.
| Module | Product Core Module |
| Library | Fixed Income Analytics |
| Project | Latent State Inference and Creation Utilities |
| Package | Latent State Repo Curve Estimator |
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLATENT_STATE_REPORepo Latent Statestatic java.lang.StringQUANTIFICATION_METRIC_REPO_RATEBasis Latent State Quantification Metric - Discount Factor -
Method Summary
Modifier and Type Method Description CalibratableComponent[]calibComp()Retrieve the Calibration ComponentsComponentcomponent()Retrieve the Repo-able Componentjava.lang.Stringcurrency()Get the CurrencyLatentStatecustomTweakManifestMeasure(java.lang.String manifestMeasure, ManifestMeasureTweak manifestMeasureTweak)Create a LatentState Instance from the Manifest Measure Tweak ParametersLatentStatecustomTweakQuantificationMetric(ManifestMeasureTweak manifestMeasureTweak)Create a LatentState Instance from the Quantification Metric Tweak ParametersJulianDateepoch()Get the Epoch DateLatentStateLabellabel()Get the Curve Latent State Identifier LabelCaseInsensitiveTreeMap<java.lang.Double>manifestMeasure(java.lang.String instrument)Retrieve the Manifest Measure Map of the given Instrument used to construct the CurveLatentStateparallelShiftManifestMeasure(java.lang.String manifestMeasure, double shift)Create a LatentState Instance from the Manifest Measure Parallel ShiftLatentStateparallelShiftQuantificationMetric(double shift)Create a LatentState Instance from the Quantification Metric Parallel Shiftdoublerepo(java.lang.String tenor)Calculate the Repo Rate to the given Tenordoublerepo(JulianDate date)Calculate the Repo Rate to the given DatebooleansetCCIS(CurveConstructionInputSet curveConstructionInputSet)Set the Curve Construction Input Set ParametersLatentStateshiftManifestMeasure(int spanIndex, java.lang.String manifestMeasure, double shift)Create a LatentState Instance from the Shift of the Specified Manifest MeasureMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drip.state.repo.RepoEstimator
repo
-
Field Details
-
LATENT_STATE_REPO
public static final java.lang.String LATENT_STATE_REPORepo Latent State- See Also:
- Constant Field Values
-
QUANTIFICATION_METRIC_REPO_RATE
public static final java.lang.String QUANTIFICATION_METRIC_REPO_RATEBasis Latent State Quantification Metric - Discount Factor- See Also:
- Constant Field Values
-
-
Method Details
-
epoch
Description copied from interface:CurveGet the Epoch Date -
component
Description copied from interface:RepoEstimatorRetrieve the Repo-able Component- Specified by:
componentin interfaceRepoEstimator- Returns:
- The Repo-able component
-
label
Description copied from interface:CurveGet the Curve Latent State Identifier Label -
currency
public java.lang.String currency()Description copied from interface:CurveGet the Currency -
repo
Description copied from interface:RepoEstimatorCalculate the Repo Rate to the given Date- Specified by:
repoin interfaceRepoEstimator- Parameters:
date- Date- Returns:
- The Repo Rate
- Throws:
java.lang.Exception- Thrown if the Repo Rate cannot be calculated
-
repo
public double repo(java.lang.String tenor) throws java.lang.ExceptionDescription copied from interface:RepoEstimatorCalculate the Repo Rate to the given Tenor- Specified by:
repoin interfaceRepoEstimator- Parameters:
tenor- The Tenor- Returns:
- The Repo Rate
- Throws:
java.lang.Exception- Thrown if the Repo Rate cannot be calculated
-
setCCIS
Description copied from interface:CurveSet the Curve Construction Input Set Parameters -
calibComp
Description copied from interface:CurveRetrieve the Calibration Components -
manifestMeasure
Description copied from interface:CurveRetrieve the Manifest Measure Map of the given Instrument used to construct the Curve- Specified by:
manifestMeasurein interfaceCurve- Parameters:
instrument- The Calibration Instrument's Code whose Manifest Measure Map is sought- Returns:
- The Manifest Measure Map of the given Instrument used to construct the Curve
-
parallelShiftManifestMeasure
Description copied from interface:LatentStateCreate a LatentState Instance from the Manifest Measure Parallel Shift- Specified by:
parallelShiftManifestMeasurein interfaceLatentState- Parameters:
manifestMeasure- The Specified Manifest Measureshift- Parallel shift of the Manifest Measure- Returns:
- New LatentState Instance corresponding to the Parallel Shifted Manifest Measure
-
shiftManifestMeasure
public LatentState shiftManifestMeasure(int spanIndex, java.lang.String manifestMeasure, double shift)Description copied from interface:LatentStateCreate a LatentState Instance from the Shift of the Specified Manifest Measure- Specified by:
shiftManifestMeasurein interfaceLatentState- Parameters:
spanIndex- Index into the Span that identifies the InstrumentmanifestMeasure- The Specified Manifest Measureshift- Shift of the Manifest Measure- Returns:
- New LatentState Instance corresponding to the Shift of the Specified Manifest Measure
-
customTweakManifestMeasure
public LatentState customTweakManifestMeasure(java.lang.String manifestMeasure, ManifestMeasureTweak manifestMeasureTweak)Description copied from interface:LatentStateCreate a LatentState Instance from the Manifest Measure Tweak Parameters- Specified by:
customTweakManifestMeasurein interfaceLatentState- Parameters:
manifestMeasure- The Specified Manifest MeasuremanifestMeasureTweak- Manifest Measure Tweak Parameters- Returns:
- New LatentState Instance corresponding to the Tweaked Manifest Measure
-
parallelShiftQuantificationMetric
Description copied from interface:LatentStateCreate a LatentState Instance from the Quantification Metric Parallel Shift- Specified by:
parallelShiftQuantificationMetricin interfaceLatentState- Parameters:
shift- Parallel shift of the Quantification Metric- Returns:
- New LatentState Instance corresponding to the Parallel Shifted Quantification Metric
-
customTweakQuantificationMetric
Description copied from interface:LatentStateCreate a LatentState Instance from the Quantification Metric Tweak Parameters- Specified by:
customTweakQuantificationMetricin interfaceLatentState- Parameters:
manifestMeasureTweak- Quantification Metric Tweak Parameters- Returns:
- New LatentState Instance corresponding to the Tweaked Quantification Metric
-