Package org.drip.historical.engine
Class FixFloatExplainProcessor
java.lang.Object
org.drip.historical.engine.HorizonChangeExplainProcessor
org.drip.historical.engine.FixFloatExplainProcessor
public class FixFloatExplainProcessor extends HorizonChangeExplainProcessor
FixFloatExplainProcessor contains the Functionality associated with the Horizon Analysis of the Fix
Float Swap.
- Module = Computational Core Module
- Library = Computation Support
- Project = Historical State Processing Utilities
- Package = Product Horizon Change Explain Engine
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FixFloatExplainProcessor(FixFloatComponent ffc, int iSettleLag, java.lang.String strMarketMeasureName, double dblMarketMeasureValue, JulianDate dtFirst, JulianDate dtSecond, CurveSurfaceQuoteContainer csqcFirst, CurveSurfaceQuoteContainer csqcSecond, CaseInsensitiveHashMap<CurveSurfaceQuoteContainer> mapCSQCRollDown)
FixFloatExplainProcessor Constructor -
Method Summary
Modifier and Type Method Description CaseInsensitiveHashMap<java.lang.Double>
crossHorizonDifferentialMetrics(PositionMarketSnap pmsFirst, PositionMarketSnap pmsSecond)
Generate the Horizon Differential Metrics MapPositionMarketSnap
snapFirstMarketValue()
Generate and Snap Relevant Fields from the First Market Valuation ParametersPositionMarketSnap
snapSecondMarketValue()
Generate and Snap Relevant Fields from the Second Market Valuation Parametersboolean
updateFixings()
Update the Fixings (if any) to the Second Market ParametersMethods inherited from class org.drip.historical.engine.HorizonChangeExplainProcessor
component, firstDate, firstMarketParameters, marketMeasureName, marketMeasureValue, metricRollUp, rollDownMarketParameters, rollDownMeasureMap, secondDate, secondMarketParameters, settleLag
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FixFloatExplainProcessor
public FixFloatExplainProcessor(FixFloatComponent ffc, int iSettleLag, java.lang.String strMarketMeasureName, double dblMarketMeasureValue, JulianDate dtFirst, JulianDate dtSecond, CurveSurfaceQuoteContainer csqcFirst, CurveSurfaceQuoteContainer csqcSecond, CaseInsensitiveHashMap<CurveSurfaceQuoteContainer> mapCSQCRollDown) throws java.lang.ExceptionFixFloatExplainProcessor Constructor- Parameters:
ffc
- The Fix Float ComponentiSettleLag
- The Component's Settle LagstrMarketMeasureName
- The Market Measure NamedblMarketMeasureValue
- The Market Measure ValuedtFirst
- First DatedtSecond
- Second DatecsqcFirst
- First Market ParameterscsqcSecond
- Second Market ParametersmapCSQCRollDown
- Map of the Roll Down Market Parameters- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
snapFirstMarketValue
Description copied from class:HorizonChangeExplainProcessor
Generate and Snap Relevant Fields from the First Market Valuation Parameters- Specified by:
snapFirstMarketValue
in classHorizonChangeExplainProcessor
- Returns:
- The First Market Parameters Valuation Snapshot
-
updateFixings
public boolean updateFixings()Description copied from class:HorizonChangeExplainProcessor
Update the Fixings (if any) to the Second Market Parameters- Specified by:
updateFixings
in classHorizonChangeExplainProcessor
- Returns:
- TRUE - The Fixings were successfully updated to the Second Market Parameters
-
snapSecondMarketValue
Description copied from class:HorizonChangeExplainProcessor
Generate and Snap Relevant Fields from the Second Market Valuation Parameters- Specified by:
snapSecondMarketValue
in classHorizonChangeExplainProcessor
- Returns:
- The Second Market Parameters Valuation Snapshot
-
crossHorizonDifferentialMetrics
public CaseInsensitiveHashMap<java.lang.Double> crossHorizonDifferentialMetrics(PositionMarketSnap pmsFirst, PositionMarketSnap pmsSecond)Description copied from class:HorizonChangeExplainProcessor
Generate the Horizon Differential Metrics Map- Specified by:
crossHorizonDifferentialMetrics
in classHorizonChangeExplainProcessor
- Parameters:
pmsFirst
- The First Position Market SnappmsSecond
- The Second Position Market Snap- Returns:
- The Horizon Differential Metrics Map
-