public class FRAStandardCapFloorlet extends OptionComponent
Constructor and Description |
---|
FRAStandardCapFloorlet(java.lang.String strName,
FRAStandardComponent fra,
java.lang.String strManifestMeasure,
boolean bIsCaplet,
double dblStrike,
double dblNotional,
LastTradingDateSetting ltds,
FokkerPlanckGenerator fpg,
CashSettleParams csp)
FRAStandardCapFloorlet constructor
|
Modifier and Type | Method and Description |
---|---|
FRAStandardComponent |
fra()
Retrieve the Underlying FRA Instance
|
double |
implyVolatility(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
java.lang.String strCalibMeasure,
double dblCalibValue)
Imply the Flat Caplet/Floorlet Volatility from the Market Manifest Measure
|
boolean |
isCaplet()
Indicate whether this a Caplet/Floorlet
|
java.util.Set<java.lang.String> |
measureNames()
Retrieve the ordered set of the measure names whose values will be calculated
|
double |
price(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
double dblVolatility)
Compute the Caplet/Floorlet Price from the Inputs
|
FokkerPlanckGenerator |
pricer()
Retrieve the Underlying Pricer Instance
|
double |
pv(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqc,
ValuationCustomizationParams vcp)
Compute the PV for the specified Market Parameters
|
CaseInsensitiveTreeMap<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 parameters
|
CaseInsensitiveTreeMap<java.lang.Double> |
valueFromSurfaceVariance(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
double dblIntegratedSurfaceVariance)
Generate the Standard FRA Caplet/Floorlet Measures from the Integrated Surface Variance
|
PredictorResponseWeightConstraint |
volatilityPRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged
Volatility Latent State from the Component's Cash Flows.
|
calibMeasures, calibQuoteSet, cashSettleParams, couponCurrency, couponMetrics, couponPeriods, creditLabel, effectiveDate, exerciseDate, firstCouponDate, forwardLabel, forwardPRWC, freq, fundingForwardPRWC, fundingLabel, fundingPRWC, fxLabel, fxPRWC, govvieLabel, govviePRWC, initialNotional, jackDDirtyPVDManifestMeasure, lastTradingDateSetting, manifestMeasure, manifestMeasureDFMicroJack, maturityDate, name, notional, notional, notional, payCurrency, primaryCode, principalCurrency, setPrimaryCode, strike, underlying, volatilityLabel
calibPRWC, secondaryCode
customScenarioMeasures, measures, measureValue, tenor
public FRAStandardCapFloorlet(java.lang.String strName, FRAStandardComponent fra, java.lang.String strManifestMeasure, boolean bIsCaplet, double dblStrike, double dblNotional, LastTradingDateSetting ltds, FokkerPlanckGenerator fpg, CashSettleParams csp) throws java.lang.Exception
strName
- Namefra
- The Underlying FRA Standard ComponentstrManifestMeasure
- Measure of the Underlying ComponentbIsCaplet
- Is the FRA Option a Caplet? TRUE - YESdblStrike
- Strike of the Underlying Component's MeasuredblNotional
- Option Notionalltds
- Last Trading Date Settingfpg
- The Fokker Planck Pricer Instancecsp
- Cash Settle Parametersjava.lang.Exception
- Thrown if the Inputs are Invalidpublic FRAStandardComponent fra()
public boolean isCaplet()
public FokkerPlanckGenerator pricer()
public CaseInsensitiveTreeMap<java.lang.Double> valueFromSurfaceVariance(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, double dblIntegratedSurfaceVariance)
valParams
- The Valuation ParameterspricerParams
- The Pricer Parameterscsqs
- The Market Parametersvcp
- The Valuation Customization ParametersdblIntegratedSurfaceVariance
- The Integrated Surface Variancepublic double price(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, double dblVolatility) throws java.lang.Exception
valParams
- The Valuation ParameterspricerParams
- Pricer Parameterscsqs
- The Market Parametersvcp
- The Valuation Customization ParametersdblVolatility
- The FRA Volatilityjava.lang.Exception
- Thrown if the Inputs are Invalidpublic double implyVolatility(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, java.lang.String strCalibMeasure, double dblCalibValue) throws java.lang.Exception
valParams
- The Valuation ParameterspricerParams
- Pricer Parameterscsqs
- The Market Parametersvcp
- The Valuation Customization ParametersstrCalibMeasure
- The Calibration MeasuredblCalibValue
- The Calibration Valuejava.lang.Exception
- Thrown if the Inputs are Invalidpublic CaseInsensitiveTreeMap<java.lang.Double> value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
Component
public java.util.Set<java.lang.String> measureNames()
Component
measureNames
in class Component
public double pv(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqc, ValuationCustomizationParams vcp) throws java.lang.Exception
Component
public PredictorResponseWeightConstraint volatilityPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
CalibratableComponent
volatilityPRWC
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspqs
- Product Quote Set