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 ProductQuoteSet
calibQuoteSet(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.String
payCurrency()
Get the Pay Currencyjava.lang.String
principalCurrency()
Get the Principal Currencydouble
pv(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 parametersPredictorResponseWeightConstraint
volatilityPRWC(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, volatilityLabel
Methods inherited from class org.drip.product.definition.CalibratableComponent
calibPRWC, secondaryCode
Methods inherited from class org.drip.product.definition.Component
customScenarioMeasures, maturityPayDate, measures, measureValue, tenor
Methods 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:ComponentMarketParamRef
Get the Map of Coupon Currencies- Specified by:
couponCurrency
in interfaceComponentMarketParamRef
- Overrides:
couponCurrency
in classOptionComponent
- Returns:
- The Map of Coupon Currencies
-
payCurrency
public java.lang.String payCurrency()Description copied from interface:ComponentMarketParamRef
Get the Pay Currency- Specified by:
payCurrency
in interfaceComponentMarketParamRef
- Overrides:
payCurrency
in classOptionComponent
- Returns:
- The Pay Currency
-
principalCurrency
public java.lang.String principalCurrency()Description copied from interface:ComponentMarketParamRef
Get the Principal Currency- Specified by:
principalCurrency
in interfaceComponentMarketParamRef
- Overrides:
principalCurrency
in classOptionComponent
- Returns:
- The Principal Currency
-
value
public CaseInsensitiveTreeMap<java.lang.Double> value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams)Description copied from class:Component
Generate 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:Component
Retrieve the ordered set of the measure names whose values will be calculated- Specified by:
measureNames
in 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:Component
Compute the PV for the specified Market Parameters -
calibQuoteSet
Description copied from class:CalibratableComponent
Generate the Product Specific Calibration Quote Set- Overrides:
calibQuoteSet
in 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:CalibratableComponent
Generate 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:
volatilityPRWC
in 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)
-