Package org.drip.historical.engine
Class HorizonChangeExplainProcessor
java.lang.Object
org.drip.historical.engine.HorizonChangeExplainProcessor
- Direct Known Subclasses:
FixFloatExplainProcessor
,TreasuryBondExplainProcessor
public abstract class HorizonChangeExplainProcessor
extends java.lang.Object
HorizonChangeExplainProcessor holds the Stubs associated with the Computation of the Horizon
Position Change Components for the given Product.
- Module = Computational Core Module
- Library = Computation Support
- Project = Historical State Processing Utilities
- Package = Product Horizon Change Explain Engine
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description Component
component()
Retrieve the Componentabstract CaseInsensitiveHashMap<java.lang.Double>
crossHorizonDifferentialMetrics(PositionMarketSnap pmsFirst, PositionMarketSnap pmsSecond)
Generate the Horizon Differential Metrics MapJulianDate
firstDate()
Retrieve the First Date of the Horizon ChangeCurveSurfaceQuoteContainer
firstMarketParameters()
Retrieve the First Date's Market Parametersjava.lang.String
marketMeasureName()
Retrieve the Component Market Measure Namedouble
marketMeasureValue()
Retrieve the Component Market Measure Valuedouble
metricRollUp()
Generate the Roll Up Version of the Quote MetricCaseInsensitiveHashMap<CurveSurfaceQuoteContainer>
rollDownMarketParameters()
Retrieve the Map of the Roll Down Market ParametersMarketMeasureRollDown
rollDownMeasureMap()
Generate the Map of the Roll Down Market Quote MetricsJulianDate
secondDate()
Retrieve the Second Date of the Horizon ChangeCurveSurfaceQuoteContainer
secondMarketParameters()
Retrieve the Second Date's Market Parametersint
settleLag()
Retrieve the Component Settle Lagabstract PositionMarketSnap
snapFirstMarketValue()
Generate and Snap Relevant Fields from the First Market Valuation Parametersabstract PositionMarketSnap
snapSecondMarketValue()
Generate and Snap Relevant Fields from the Second Market Valuation Parametersabstract boolean
updateFixings()
Update the Fixings (if any) to the Second Market ParametersMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
component
Retrieve the Component- Returns:
- The Component
-
settleLag
public int settleLag()Retrieve the Component Settle Lag- Returns:
- The Component Settle Lag
-
marketMeasureName
public java.lang.String marketMeasureName()Retrieve the Component Market Measure Name- Returns:
- The Component Market Measure Name
-
marketMeasureValue
public double marketMeasureValue()Retrieve the Component Market Measure Value- Returns:
- The Component Market Measure Value
-
firstDate
Retrieve the First Date of the Horizon Change- Returns:
- The First Date of the Horizon Change
-
firstMarketParameters
Retrieve the First Date's Market Parameters- Returns:
- The First Date's Market Parameters
-
secondDate
Retrieve the Second Date of the Horizon Change- Returns:
- The Second Date of the Horizon Change
-
secondMarketParameters
Retrieve the Second Date's Market Parameters- Returns:
- The Second Date's Market Parameters
-
rollDownMarketParameters
Retrieve the Map of the Roll Down Market Parameters- Returns:
- Map of the Roll Down Market Parameters
-
rollDownMeasureMap
Generate the Map of the Roll Down Market Quote Metrics- Returns:
- Map of the Roll Down Market Quote Metrics
-
metricRollUp
public double metricRollUp() throws java.lang.ExceptionGenerate the Roll Up Version of the Quote Metric- Returns:
- The Roll Up Version of the Quote Metric
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
snapFirstMarketValue
Generate and Snap Relevant Fields from the First Market Valuation Parameters- Returns:
- The First Market Parameters Valuation Snapshot
-
updateFixings
public abstract boolean updateFixings()Update the Fixings (if any) to the Second Market Parameters- Returns:
- TRUE - The Fixings were successfully updated to the Second Market Parameters
-
snapSecondMarketValue
Generate and Snap Relevant Fields from the Second Market Valuation Parameters- Returns:
- The Second Market Parameters Valuation Snapshot
-
crossHorizonDifferentialMetrics
public abstract CaseInsensitiveHashMap<java.lang.Double> crossHorizonDifferentialMetrics(PositionMarketSnap pmsFirst, PositionMarketSnap pmsSecond)Generate the Horizon Differential Metrics Map- Parameters:
pmsFirst
- The First Position Market SnappmsSecond
- The Second Position Market Snap- Returns:
- The Horizon Differential Metrics Map
-