Package org.drip.analytics.definition
Class MarketSurface
java.lang.Object
org.drip.analytics.definition.MarketSurface
- All Implemented Interfaces:
Curve
,LatentState
- Direct Known Subclasses:
BasisSplineMarketSurface
public abstract class MarketSurface extends java.lang.Object implements Curve
MarketSurface exposes the stub that implements the market surface that holds the latent state's
Evolution parameters.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Date, Cash Flow, and Cash Flow Period Measure Generation Utilities
- Package = Latent State Curves, Surfaces, Turns
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description CalibratableComponent[]
calibComp()
Retrieve the Calibration Componentsjava.lang.String
currency()
Get the CurrencyLatentState
customTweakManifestMeasure(java.lang.String strManifestMeasure, ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Manifest Measure Tweak ParametersLatentState
customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Quantification Metric Tweak ParametersJulianDate
epoch()
Get the Epoch DateLatentStateLabel
label()
Get the Curve Latent State Identifier LabelCaseInsensitiveTreeMap<java.lang.Double>
manifestMeasure(java.lang.String strInstr)
Retrieve the Manifest Measure Map of the given Instrument used to construct the CurveNodeStructure
maturityAnchorTermStructure(java.lang.String strTenorAnchor)
Extract the Term Structure Constructed at the Maturity Anchor Tenorabstract double
node(double dblX, double dblY)
Get the Market Node given the X and the Y Ordinatesdouble
node(double dblStrike, java.lang.String strTenor)
Get the Market Node given the Strike and the TenorLatentState
parallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)
Create a LatentState Instance from the Manifest Measure Parallel ShiftLatentState
parallelShiftQuantificationMetric(double dblShift)
Create a LatentState Instance from the Quantification Metric Parallel Shiftboolean
setCCIS(CurveConstructionInputSet ccis)
Set the Curve Construction Input Set ParametersLatentState
shiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)
Create a LatentState Instance from the Shift of the Specified Manifest Measureabstract NodeStructure
xAnchorTermStructure(double dblXAnchor)
Extract the Term Structure Constructed at the X Anchor Nodeabstract NodeStructure
yAnchorTermStructure(double dblYAnchor)
Extract the Term Structure Constructed at the Y Anchor NodeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
label
Description copied from interface:Curve
Get the Curve Latent State Identifier Label -
currency
public java.lang.String currency()Description copied from interface:Curve
Get the Currency -
epoch
Description copied from interface:Curve
Get the Epoch Date -
setCCIS
Description copied from interface:Curve
Set the Curve Construction Input Set Parameters -
calibComp
Description copied from interface:Curve
Retrieve the Calibration Components -
manifestMeasure
Description copied from interface:Curve
Retrieve the Manifest Measure Map of the given Instrument used to construct the Curve- Specified by:
manifestMeasure
in interfaceCurve
- Parameters:
strInstr
- 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
public LatentState parallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)Description copied from interface:LatentState
Create a LatentState Instance from the Manifest Measure Parallel Shift- Specified by:
parallelShiftManifestMeasure
in interfaceLatentState
- Parameters:
strManifestMeasure
- The Specified Manifest MeasuredblShift
- Parallel shift of the Manifest Measure- Returns:
- New LatentState Instance corresponding to the Parallel Shifted Manifest Measure
-
shiftManifestMeasure
public LatentState shiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)Description copied from interface:LatentState
Create a LatentState Instance from the Shift of the Specified Manifest Measure- Specified by:
shiftManifestMeasure
in interfaceLatentState
- Parameters:
iSpanIndex
- Index into the Span that identifies the InstrumentstrManifestMeasure
- The Specified Manifest MeasuredblShift
- 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 strManifestMeasure, ManifestMeasureTweak rvtp)Description copied from interface:LatentState
Create a LatentState Instance from the Manifest Measure Tweak Parameters- Specified by:
customTweakManifestMeasure
in interfaceLatentState
- Parameters:
strManifestMeasure
- The Specified Manifest Measurervtp
- Manifest Measure Tweak Parameters- Returns:
- New LatentState Instance corresponding to the Tweaked Manifest Measure
-
parallelShiftQuantificationMetric
Description copied from interface:LatentState
Create a LatentState Instance from the Quantification Metric Parallel Shift- Specified by:
parallelShiftQuantificationMetric
in interfaceLatentState
- Parameters:
dblShift
- Parallel shift of the Quantification Metric- Returns:
- New LatentState Instance corresponding to the Parallel Shifted Quantification Metric
-
customTweakQuantificationMetric
Description copied from interface:LatentState
Create a LatentState Instance from the Quantification Metric Tweak Parameters- Specified by:
customTweakQuantificationMetric
in interfaceLatentState
- Parameters:
rvtp
- Quantification Metric Tweak Parameters- Returns:
- New LatentState Instance corresponding to the Tweaked Quantification Metric
-
node
public abstract double node(double dblX, double dblY) throws java.lang.ExceptionGet the Market Node given the X and the Y Ordinates- Parameters:
dblX
- XdblY
- Y- Returns:
- The Latent State Metric Value evaluated from the Surface
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
node
public double node(double dblStrike, java.lang.String strTenor) throws java.lang.ExceptionGet the Market Node given the Strike and the Tenor- Parameters:
dblStrike
- The StrikestrTenor
- The Maturity Tenor- Returns:
- The Volatility evaluated from the Volatility Surface
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
xAnchorTermStructure
Extract the Term Structure Constructed at the X Anchor Node- Parameters:
dblXAnchor
- The X Anchor Node- Returns:
- The Term Structure Constructed at the X Anchor Node
-
yAnchorTermStructure
Extract the Term Structure Constructed at the Y Anchor Node- Parameters:
dblYAnchor
- The Y Anchor- Returns:
- The Term Structure Constructed at the Y Anchor Node
-
maturityAnchorTermStructure
Extract the Term Structure Constructed at the Maturity Anchor Tenor- Parameters:
strTenorAnchor
- The Anchor Tenor- Returns:
- The Term Structure Constructed at the Maturity Anchor Tenor
-