public class FRAStandardCapFloor extends OptionComponent
| Constructor and Description |
|---|
FRAStandardCapFloor(java.lang.String strName,
Stream stream,
java.lang.String strManifestMeasure,
boolean bIsCap,
double dblStrike,
LastTradingDateSetting ltds,
CashSettleParams csp,
FokkerPlanckGenerator fpg)
FRAStandardCapFloor constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
atmPriceFromVolatility(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
double dblFlatVolatility)
Compute the ATM Cap/Floor Price from the Flat Volatility
|
java.util.List<FRAStandardCapFloorlet> |
capFloorlets()
Retrieve the List of the Underlying Caplets/Floorlets
|
double |
flatVolatilityFromPrice(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
double dblCalibPrice)
Imply the Flat Cap/Floor Volatility from the Calibration Price
|
boolean |
isCap()
Indicate if this is a Cap or Floor
|
java.util.Set<java.lang.String> |
measureNames()
Retrieve the ordered set of the measure names whose values will be calculated
|
double |
priceFromFlatVolatility(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
double dblFlatVolatility)
Compute the Cap/Floor Price from the Flat Volatility
|
double |
pv(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqc,
ValuationCustomizationParams vcp)
Compute the PV for the specified Market Parameters
|
Stream |
stream()
Retrieve the Stream Instance Underlying the Cap
|
boolean |
stripPiecewiseForwardVolatility(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
double dblCapVolatility,
java.util.Map<JulianDate,java.lang.Double> mapDateVol)
Strip the Piece-wise Constant Forward Rate Volatility of the Unmarked Segment of the Volatility Term
Structure
|
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
|
double |
volatilityFromATMPrice(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
double dblCalibPrice)
Imply the Flat Cap/Floor Volatility from the Calibration ATM Price
|
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, volatilityLabelcalibPRWC, secondaryCodecustomScenarioMeasures, measures, measureValue, tenorpublic FRAStandardCapFloor(java.lang.String strName,
Stream stream,
java.lang.String strManifestMeasure,
boolean bIsCap,
double dblStrike,
LastTradingDateSetting ltds,
CashSettleParams csp,
FokkerPlanckGenerator fpg)
throws java.lang.Exception
strName - Name of the Cap/Floor Instancestream - The Underlying StreamstrManifestMeasure - Measure of the Underlying ComponentbIsCap - Is the FRA Option a Cap? TRUE - YESdblStrike - Strike of the Underlying Component's Measureltds - Last Trading Date Settingcsp - Cash Settle Parametersfpg - The Fokker Planck Pricer Instancejava.lang.Exception - Thrown if the Inputs are Invalidpublic CaseInsensitiveTreeMap<java.lang.Double> value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
Componentpublic java.util.Set<java.lang.String> measureNames()
ComponentmeasureNames in class Componentpublic double pv(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqc, ValuationCustomizationParams vcp) throws java.lang.Exception
Componentpublic Stream stream()
public boolean isCap()
public java.util.List<FRAStandardCapFloorlet> capFloorlets()
public double atmPriceFromVolatility(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, double dblFlatVolatility) throws java.lang.Exception
valParams - The Valuation ParameterspricerParams - The Pricer Parameterscsqs - The Market Parametersvcp - The Valuation Customization ParametersdblFlatVolatility - The Flat Volatilityjava.lang.Exception - Thrown if the ATM Price cannot be calculatedpublic double volatilityFromATMPrice(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, double dblCalibPrice) throws java.lang.Exception
valParams - The Valuation ParameterspricerParams - The Pricer Parameterscsqs - The Market Parametersvcp - The Valuation Customization ParametersdblCalibPrice - The Calibration Pricejava.lang.Exception - Thrown if the Flat Volatility cannot be calculatedpublic double priceFromFlatVolatility(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, double dblFlatVolatility) throws java.lang.Exception
valParams - The Valuation ParameterspricerParams - The Pricer Parameterscsqs - The Market Parametersvcp - The Valuation Customization ParametersdblFlatVolatility - The Flat Volatilityjava.lang.Exception - Thrown if the Price cannot be calculatedpublic double flatVolatilityFromPrice(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, double dblCalibPrice) throws java.lang.Exception
valParams - The Valuation ParameterspricerParams - The Pricer Parameterscsqs - The Market Parametersvcp - The Valuation Customization ParametersdblCalibPrice - The Calibration Pricejava.lang.Exception - Thrown if the Price cannot be calculatedpublic boolean stripPiecewiseForwardVolatility(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, double dblCapVolatility, java.util.Map<JulianDate,java.lang.Double> mapDateVol)
valParams - The Valuation ParameterspricerParams - The pricer Parameterscsqs - The Market Parametersvcp - The Valuation Customization ParametersdblCapVolatility - The Flat Cap VolatilitymapDateVol - The Date/Volatility Mappublic PredictorResponseWeightConstraint volatilityPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
CalibratableComponentvolatilityPRWC in class CalibratableComponentvalParams - Valuation ParameterspricerParams - Pricer Parameterscsqs - Component Market Parametersvcp - Valuation Customization Parameterspqs - Product Quote Set