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 MapMarketMeasureRollDown
rollDownMeasureMap()
Generate the Map of the Roll Down Market Quote MetricsPositionMarketSnap
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, secondDate, secondMarketParameters, settleLag
Methods 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:HorizonChangeExplainProcessor
Generate the Map of the Roll Down Market Quote Metrics- Overrides:
rollDownMeasureMap
in classHorizonChangeExplainProcessor
- Returns:
- Map of the Roll Down Market Quote Metrics
-
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
-