public class CDSEuropeanOption extends OptionComponent
Constructor and Description |
---|
CDSEuropeanOption(java.lang.String strName,
CreditDefaultSwap cds,
java.lang.String strManifestMeasure,
boolean bIsReceiver,
double dblStrike,
LastTradingDateSetting ltds,
FokkerPlanckGenerator fpg,
CashSettleParams csp)
CDSEuropeanOption constructor
|
Modifier and Type | Method and Description |
---|---|
ProductQuoteSet |
calibQuoteSet(LatentStateSpecification[] aLSS)
Generate the Product Specific Calibration Quote Set
|
CaseInsensitiveTreeMap<java.lang.String> |
couponCurrency()
Get the Map of Coupon Currencies
|
java.util.Set<java.lang.String> |
measureNames()
Retrieve the ordered set of the measure names whose values will be calculated
|
java.lang.String |
payCurrency()
Get the Pay Currency
|
java.lang.String |
principalCurrency()
Get the Principal Currency
|
double |
pv(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams quotingParams)
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 csqc,
ValuationCustomizationParams vcp,
double dblIntegratedSurfaceVariance)
Generate the Standard CDS European Option Measures from the Integrated Surface Variance
|
PredictorResponseWeightConstraint |
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.
|
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, primaryCode, setPrimaryCode, strike, underlying, volatilityLabel
calibPRWC, secondaryCode
customScenarioMeasures, measures, measureValue, tenor
public CDSEuropeanOption(java.lang.String strName, CreditDefaultSwap cds, java.lang.String strManifestMeasure, boolean bIsReceiver, double dblStrike, LastTradingDateSetting ltds, FokkerPlanckGenerator fpg, CashSettleParams csp) throws java.lang.Exception
strName
- Namecds
- The Underlying CDS ComponentstrManifestMeasure
- Measure of the Underlying ComponentbIsReceiver
- Is the Option a Receiver/Payer? TRUE - ReceiverdblStrike
- Strike of the Underlying Component's Measureltds
- Last Trading Date Settingfpg
- The Fokker Planck Pricer Instancecsp
- Cash Settle Parametersjava.lang.Exception
- Thrown if the Inputs are Invalidpublic CaseInsensitiveTreeMap<java.lang.Double> valueFromSurfaceVariance(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqc, ValuationCustomizationParams vcp, double dblIntegratedSurfaceVariance)
valParams
- The Valuation ParameterspricerParams
- The Pricer Parameterscsqc
- The Market Parametersvcp
- The Valuation Customization ParametersdblIntegratedSurfaceVariance
- The Integrated Surface Variancepublic java.util.Set<java.lang.String> measureNames()
Component
measureNames
in class Component
public CaseInsensitiveTreeMap<java.lang.String> couponCurrency()
ComponentMarketParamRef
couponCurrency
in interface ComponentMarketParamRef
couponCurrency
in class OptionComponent
public java.lang.String payCurrency()
ComponentMarketParamRef
payCurrency
in interface ComponentMarketParamRef
payCurrency
in class OptionComponent
public java.lang.String principalCurrency()
ComponentMarketParamRef
principalCurrency
in interface ComponentMarketParamRef
principalCurrency
in class OptionComponent
public CaseInsensitiveTreeMap<java.lang.Double> value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
Component
public double pv(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams) throws java.lang.Exception
Component
public ProductQuoteSet calibQuoteSet(LatentStateSpecification[] aLSS)
CalibratableComponent
calibQuoteSet
in class OptionComponent
aLSS
- Array of Latent State Specificationpublic PredictorResponseWeightConstraint volatilityPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams, ProductQuoteSet pqs)
CalibratableComponent
volatilityPRWC
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market ParametersquotingParams
- Valuation Customization Parameterspqs
- Product Quote Set