Package org.drip.historical.engine
Class TreasuryBondExplainProcessor
java.lang.Object
org.drip.historical.engine.HorizonChangeExplainProcessor
org.drip.historical.engine.TreasuryBondExplainProcessor
public class TreasuryBondExplainProcessor extends HorizonChangeExplainProcessor
TreasuryBondExplainProcessor contains the Functionality associated with the Horizon Analysis of the
Treasury Bond.
- 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 TreasuryBondExplainProcessor(TreasuryComponent tsyComponent, java.lang.String strMarketMeasureName, double dblMarketMeasureValue, JulianDate dtFirst, JulianDate dtSecond, CurveSurfaceQuoteContainer csqcFirst, CurveSurfaceQuoteContainer csqcSecond, CaseInsensitiveHashMap<CurveSurfaceQuoteContainer> mapCSQCRollDown)TreasuryBondExplainProcessor Constructor -
Method Summary
Modifier and Type Method Description CaseInsensitiveHashMap<java.lang.Double>crossHorizonDifferentialMetrics(PositionMarketSnap pmsFirst, PositionMarketSnap pmsSecond)Generate the Horizon Differential Metrics MapMarketMeasureRollDownrollDownMeasureMap()Generate the Map of the Roll Down Market Quote MetricsPositionMarketSnapsnapFirstMarketValue()Generate and Snap Relevant Fields from the First Market Valuation ParametersPositionMarketSnapsnapSecondMarketValue()Generate and Snap Relevant Fields from the Second Market Valuation ParametersbooleanupdateFixings()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, secondDate, secondMarketParameters, settleLagMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TreasuryBondExplainProcessor
public TreasuryBondExplainProcessor(TreasuryComponent tsyComponent, java.lang.String strMarketMeasureName, double dblMarketMeasureValue, JulianDate dtFirst, JulianDate dtSecond, CurveSurfaceQuoteContainer csqcFirst, CurveSurfaceQuoteContainer csqcSecond, CaseInsensitiveHashMap<CurveSurfaceQuoteContainer> mapCSQCRollDown) throws java.lang.ExceptionTreasuryBondExplainProcessor Constructor- Parameters:
tsyComponent- The Treasury ComponentstrMarketMeasureName- 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
-
rollDownMeasureMap
Description copied from class:HorizonChangeExplainProcessorGenerate the Map of the Roll Down Market Quote Metrics- Overrides:
rollDownMeasureMapin classHorizonChangeExplainProcessor- Returns:
- Map of the Roll Down Market Quote Metrics
-
snapFirstMarketValue
Description copied from class:HorizonChangeExplainProcessorGenerate and Snap Relevant Fields from the First Market Valuation Parameters- Specified by:
snapFirstMarketValuein classHorizonChangeExplainProcessor- Returns:
- The First Market Parameters Valuation Snapshot
-
updateFixings
public boolean updateFixings()Description copied from class:HorizonChangeExplainProcessorUpdate the Fixings (if any) to the Second Market Parameters- Specified by:
updateFixingsin classHorizonChangeExplainProcessor- Returns:
- TRUE - The Fixings were successfully updated to the Second Market Parameters
-
snapSecondMarketValue
Description copied from class:HorizonChangeExplainProcessorGenerate and Snap Relevant Fields from the Second Market Valuation Parameters- Specified by:
snapSecondMarketValuein classHorizonChangeExplainProcessor- Returns:
- The Second Market Parameters Valuation Snapshot
-
crossHorizonDifferentialMetrics
public CaseInsensitiveHashMap<java.lang.Double> crossHorizonDifferentialMetrics(PositionMarketSnap pmsFirst, PositionMarketSnap pmsSecond)Description copied from class:HorizonChangeExplainProcessorGenerate the Horizon Differential Metrics Map- Specified by:
crossHorizonDifferentialMetricsin classHorizonChangeExplainProcessor- Parameters:
pmsFirst- The First Position Market SnappmsSecond- The Second Position Market Snap- Returns:
- The Horizon Differential Metrics Map
-