Package org.drip.product.fra
Class FRAStandardComponent
java.lang.Object
org.drip.product.definition.Component
org.drip.product.definition.CalibratableComponent
org.drip.product.rates.SingleStreamComponent
org.drip.product.fra.FRAStandardComponent
- All Implemented Interfaces:
ComponentMarketParamRef
- Direct Known Subclasses:
FRAMarketComponent
public class FRAStandardComponent extends SingleStreamComponent
FRAStandardComponent contains the implementation of the Standard Multi-Curve FRA Component.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Product Components/Baskets for Credit, FRA, FX, Govvie, Rates, and Option AssetClasses
- Package = Standard/Market FRAs - Caps/Floors
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FRAStandardComponent(java.lang.String strName, Stream stream, double dblStrike, CashSettleParams csp)FRAStandardComponent constructor -
Method Summary
Modifier and Type Method Description ProductQuoteSetcalibQuoteSet(LatentStateSpecification[] aLSS)Generate the Product Specific Calibration Quote SetPredictorResponseWeightConstraintforwardPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Forward Factor Latent State from the Component's Cash Flows.PredictorResponseWeightConstraintfundingPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Funding Curve Discount Factor Latent State from the Component's Cash Flows.WengertJacobianjackDDirtyPVDManifestMeasure(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)Compute the Jacobian of the Dirty PV to the Calibrated Input Manifest MeasuresWengertJacobianmanifestMeasureDFMicroJack(java.lang.String strManifestMeasure, ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)Compute the micro-Jacobian of the given measure to the DFjava.util.Set<java.lang.String>measureNames()Retrieve the ordered set of the measure names whose values will be calculateddoublestrike()Retrieve the FRA StrikeCaseInsensitiveTreeMap<java.lang.Double>value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)Generate a full list of the Product measures for the full input set of market parametersMethods inherited from class org.drip.product.rates.SingleStreamComponent
calibMeasures, cashSettleParams, couponCurrency, couponMetrics, couponPeriods, creditLabel, effectiveDate, firstCouponDate, forwardLabel, freq, fundingForwardPRWC, fundingLabel, fxLabel, fxPRWC, govvieLabel, govviePRWC, initialNotional, maturityDate, name, notional, notional, otcFixFloatLabel, payCurrency, primaryCode, principalCurrency, pv, setPrimaryCode, stream, volatilityLabel, volatilityPRWCMethods inherited from class org.drip.product.definition.CalibratableComponent
calibPRWC, secondaryCodeMethods inherited from class org.drip.product.definition.Component
customScenarioMeasures, maturityPayDate, measures, measureValue, tenorMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FRAStandardComponent
public FRAStandardComponent(java.lang.String strName, Stream stream, double dblStrike, CashSettleParams csp) throws java.lang.ExceptionFRAStandardComponent constructor- Parameters:
strName- Futures Component Namestream- Futures StreamdblStrike- Futures Strikecsp- Cash Settle Parameters Instance- Throws:
java.lang.Exception- Thrown if Inputs are Invalid
-
-
Method Details
-
value
public CaseInsensitiveTreeMap<java.lang.Double> value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)Description copied from class:ComponentGenerate a full list of the Product measures for the full input set of market parameters- Overrides:
valuein classSingleStreamComponent- Parameters:
valParams- ValuationParamspricerParams- PricerParamscsqs- Market Parametersvcp- Valuation Customization Parameters- Returns:
- Map of measure name and value
-
measureNames
public java.util.Set<java.lang.String> measureNames()Description copied from class:ComponentRetrieve the ordered set of the measure names whose values will be calculated- Overrides:
measureNamesin classSingleStreamComponent- Returns:
- Set of Measure Names
-
jackDDirtyPVDManifestMeasure
public WengertJacobian jackDDirtyPVDManifestMeasure(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)Description copied from class:CalibratableComponentCompute the Jacobian of the Dirty PV to the Calibrated Input Manifest Measures- Overrides:
jackDDirtyPVDManifestMeasurein classSingleStreamComponent- Parameters:
valParams- Valuation ParameterspricerParams- Pricer Parameterscsqs- Component Market Parametersvcp- Valuation Customization Parameters- Returns:
- The micro-Jacobian
-
manifestMeasureDFMicroJack
public WengertJacobian manifestMeasureDFMicroJack(java.lang.String strManifestMeasure, ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)Description copied from class:CalibratableComponentCompute the micro-Jacobian of the given measure to the DF- Overrides:
manifestMeasureDFMicroJackin classSingleStreamComponent- Parameters:
strManifestMeasure- Manifest Measure NamevalParams- Valuation ParameterspricerParams- Pricer Parameterscsqs- Component Market Parametersvcp- Valuation Customization Parameters- Returns:
- The micro-Jacobian
-
calibQuoteSet
Description copied from class:CalibratableComponentGenerate the Product Specific Calibration Quote Set- Overrides:
calibQuoteSetin classSingleStreamComponent- Parameters:
aLSS- Array of Latent State Specification- Returns:
- The Product Specific Calibration Quote Set
-
fundingPRWC
public PredictorResponseWeightConstraint fundingPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)Description copied from class:CalibratableComponentGenerate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Funding Curve Discount Factor Latent State from the Component's Cash Flows. The Constraints here typically correspond to Date/Cash Flow pairs and the corresponding leading PV.- Overrides:
fundingPRWCin classSingleStreamComponent- Parameters:
valParams- Valuation ParameterspricerParams- Pricer Parameterscsqs- Component Market Parametersvcp- Valuation Customization Parameterspqs- Product Quote Set- Returns:
- The Calibratable Linearized Predictor/Response Constraints (Date/Cash Flow pairs and the corresponding PV)
-
forwardPRWC
public PredictorResponseWeightConstraint forwardPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)Description copied from class:CalibratableComponentGenerate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Forward Factor Latent State from the Component's Cash Flows. The Constraints here typically correspond to Date/Cash Flow pairs and the corresponding leading PV.- Overrides:
forwardPRWCin classSingleStreamComponent- Parameters:
valParams- Valuation ParameterspricerParams- Pricer Parameterscsqs- Component Market Parametersvcp- Valuation Customization Parameterspqs- Product Quote Set- Returns:
- The Calibratable Linearized Predictor/Response Constraints (Date/Cash Flow pairs and the corresponding PV)
-
strike
public double strike()Retrieve the FRA Strike- Returns:
- The FRA Strike
-