Package org.drip.product.option
Class FixFloatEuropeanOption
java.lang.Object
org.drip.product.definition.Component
org.drip.product.definition.CalibratableComponent
org.drip.product.option.OptionComponent
org.drip.product.option.FixFloatEuropeanOption
- All Implemented Interfaces:
ComponentMarketParamRef
public class FixFloatEuropeanOption extends OptionComponent
FixFloatEuropeanOption implements the Payer/Receiver European Option on the Fix-Float Swap.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Product Components/Baskets for Credit, FRA, FX, Govvie, Rates, and Option AssetClasses
- Package = Options on Fixed Income Components
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FixFloatEuropeanOption(java.lang.String strName, FixFloatComponent stir, java.lang.String strManifestMeasure, boolean bIsReceiver, double dblStrike, double dblNotional, LastTradingDateSetting ltds, CashSettleParams csp)FixFloatEuropeanOption constructor -
Method Summary
Modifier and Type Method Description ProductQuoteSetcalibQuoteSet(LatentStateSpecification[] aLSS)Generate the Product Specific Calibration Quote SetCaseInsensitiveTreeMap<java.lang.String>couponCurrency()Get the Map of Coupon Currenciesjava.util.Set<java.lang.String>measureNames()Retrieve the ordered set of the measure names whose values will be calculatedjava.lang.StringpayCurrency()Get the Pay Currencyjava.lang.StringprincipalCurrency()Get the Principal Currencydoublepv(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams)Compute the PV for the specified Market ParametersCaseInsensitiveTreeMap<java.lang.Double>value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams)Generate a full list of the Product measures for the full input set of market parametersPredictorResponseWeightConstraintvolatilityPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams, ProductQuoteSet pqs)Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Volatility Latent State from the Component's Cash Flows.Methods inherited from class org.drip.product.option.OptionComponent
calibMeasures, cashSettleParams, 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, otcFixFloatLabel, primaryCode, setPrimaryCode, strike, underlying, volatilityLabelMethods 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
-
FixFloatEuropeanOption
public FixFloatEuropeanOption(java.lang.String strName, FixFloatComponent stir, java.lang.String strManifestMeasure, boolean bIsReceiver, double dblStrike, double dblNotional, LastTradingDateSetting ltds, CashSettleParams csp) throws java.lang.ExceptionFixFloatEuropeanOption constructor- Parameters:
strName- Namestir- The Underlying STIR Future ComponentstrManifestMeasure- Measure of the Underlying ComponentbIsReceiver- Is the STIR Option a Receiver/Payer? TRUE - ReceiverdblStrike- Strike of the Underlying Component's MeasuredblNotional- Option Notionalltds- Last Trading Date Settingcsp- Cash Settle Parameters- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
couponCurrency
Description copied from interface:ComponentMarketParamRefGet the Map of Coupon Currencies- Specified by:
couponCurrencyin interfaceComponentMarketParamRef- Overrides:
couponCurrencyin classOptionComponent- Returns:
- The Map of Coupon Currencies
-
payCurrency
public java.lang.String payCurrency()Description copied from interface:ComponentMarketParamRefGet the Pay Currency- Specified by:
payCurrencyin interfaceComponentMarketParamRef- Overrides:
payCurrencyin classOptionComponent- Returns:
- The Pay Currency
-
principalCurrency
public java.lang.String principalCurrency()Description copied from interface:ComponentMarketParamRefGet the Principal Currency- Specified by:
principalCurrencyin interfaceComponentMarketParamRef- Overrides:
principalCurrencyin classOptionComponent- Returns:
- The Principal Currency
-
value
public CaseInsensitiveTreeMap<java.lang.Double> value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams)Description copied from class:ComponentGenerate a full list of the Product measures for the full input set of market parameters -
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- Specified by:
measureNamesin classComponent- Returns:
- Set of Measure Names
-
pv
public double pv(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams) throws java.lang.ExceptionDescription copied from class:ComponentCompute the PV for the specified Market Parameters -
calibQuoteSet
Description copied from class:CalibratableComponentGenerate the Product Specific Calibration Quote Set- Overrides:
calibQuoteSetin classOptionComponent- Parameters:
aLSS- Array of Latent State Specification- Returns:
- The Product Specific Calibration Quote Set
-
volatilityPRWC
public PredictorResponseWeightConstraint volatilityPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams, ProductQuoteSet pqs)Description copied from class:CalibratableComponentGenerate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Volatility Latent State from the Component's Cash Flows. The Constraints here typically correspond to Date/Cash Flow pairs and the corresponding leading PV.- Specified by:
volatilityPRWCin classCalibratableComponent- Parameters:
valParams- Valuation ParameterspricerParams- Pricer Parameterscsqs- Component Market ParametersquotingParams- Valuation Customization Parameterspqs- Product Quote Set- Returns:
- The Calibratable Linearized Predictor/Response Constraints (Date/Cash Flow pairs and the corresponding PV)
-