Package org.drip.feed.metric
Class TreasuryBondPnLAttributor
java.lang.Object
org.drip.feed.metric.TreasuryBondPnLAttributor
public class TreasuryBondPnLAttributor
extends java.lang.Object
TreasuryBondPnLAttributor generates the Date Valuation and Position Change PnL Explain Attributions
for the Specified Treasury Bond.
- Module = Computational Core Module
- Library = Computation Support
- Project = Load, Transform, and compute Target Metrics across Feeds
- Package = Feed Horizon - PnL Explain/Attribution
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description TreasuryBondPnLAttributor()
-
Method Summary
Modifier and Type Method Description static boolean
TenorHorizonExplainComponents(java.lang.String[] astrMaturityTenor, java.lang.String strCode, int[] aiHorizonGap, java.lang.String strFeedTranformLocation, java.lang.String[] astrGovvieTreasuryTenor, int[] aiGovvieTreasuryColumn, java.lang.String[] astrRollDownHorizonTenor)
Generate the Tenor Horizon Explain Componentsstatic java.util.List<PositionChangeComponents>
TenorHorizonExplainComponents(java.lang.String strMaturityTenor, java.lang.String strCode, int iHorizonGap, java.lang.String strFeedTranformLocation, java.lang.String[] astrGovvieTreasuryTenor, int[] aiGovvieTreasuryColumn, java.lang.String[] astrRollDownHorizonTenor)
Generate the Explain Components for the specified Treasury BondMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TreasuryBondPnLAttributor
public TreasuryBondPnLAttributor()
-
-
Method Details
-
TenorHorizonExplainComponents
public static final java.util.List<PositionChangeComponents> TenorHorizonExplainComponents(java.lang.String strMaturityTenor, java.lang.String strCode, int iHorizonGap, java.lang.String strFeedTranformLocation, java.lang.String[] astrGovvieTreasuryTenor, int[] aiGovvieTreasuryColumn, java.lang.String[] astrRollDownHorizonTenor)Generate the Explain Components for the specified Treasury Bond- Parameters:
strMaturityTenor
- Treasury Bond Maturity TenorstrCode
- Treasury Bond CodeiHorizonGap
- The Valuation Horizon GapstrFeedTranformLocation
- The Closing Funding Curve Quotes LocationastrGovvieTreasuryTenor
- The Govvie Curve Treasury Bond Maturity TenorsaiGovvieTreasuryColumn
- The Govvie Curve Treasury Bond Quote ColumnsastrRollDownHorizonTenor
- Array of the Roll Down Horizon Tenors- Returns:
- List of the Position Change Components
-
TenorHorizonExplainComponents
public static final boolean TenorHorizonExplainComponents(java.lang.String[] astrMaturityTenor, java.lang.String strCode, int[] aiHorizonGap, java.lang.String strFeedTranformLocation, java.lang.String[] astrGovvieTreasuryTenor, int[] aiGovvieTreasuryColumn, java.lang.String[] astrRollDownHorizonTenor)Generate the Tenor Horizon Explain Components- Parameters:
astrMaturityTenor
- Array of Treasury Bond Maturity TenorsstrCode
- Treasury Bond CodeaiHorizonGap
- Array of the Valuation Horizon GapsstrFeedTranformLocation
- The Closing Funding Curve Quotes LocationastrGovvieTreasuryTenor
- The Govvie Curve Treasury Bond Maturity TenorsaiGovvieTreasuryColumn
- The Govvie Curve Treasury Bond Maturity ColumnsastrRollDownHorizonTenor
- Array of the Roll Down Horizon Tenors- Returns:
- TRUE - The Treasury Bond Tenor Explain Components Successfully generated
-