public abstract class OptionComponent extends CalibratableComponent
Modifier and Type | Method and Description |
---|---|
CaseInsensitiveTreeMap<java.lang.Double> |
calibMeasures(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp)
Generate a Map of the Calibration Measures
|
ProductQuoteSet |
calibQuoteSet(LatentStateSpecification[] aLSS)
Generate the Product Specific Calibration Quote Set
|
CashSettleParams |
cashSettleParams()
Get the Product's cash settlement parameters
|
CaseInsensitiveTreeMap<java.lang.String> |
couponCurrency()
Get the Map of Coupon Currencies
|
CompositePeriodCouponMetrics |
couponMetrics(int iAccrualEndDate,
ValuationParams valParams,
CurveSurfaceQuoteContainer csqs)
Get the Product's coupon Metrics at the specified accrual date
|
java.util.List<CompositePeriod> |
couponPeriods()
Get the Product's Cash Flow Periods
|
CreditLabel |
creditLabel()
Get the Credit Curve Latent State Identifier Label
|
JulianDate |
effectiveDate()
Get the Effective Date
|
JulianDate |
exerciseDate()
Retrieve the Option Exercise Date
|
JulianDate |
firstCouponDate()
Get the First Coupon Date
|
CaseInsensitiveTreeMap<ForwardLabel> |
forwardLabel()
Get the Map of Forward Curve Latent State Labels
|
PredictorResponseWeightConstraint |
forwardPRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Forward
Factor Latent State from the Component's Cash Flows.
|
int |
freq()
Retrieve the Coupon Frequency
|
PredictorResponseWeightConstraint |
fundingForwardPRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the Calibratable Linearized Predictor/Response Constraint Weights for the merged Funding and
Forward Latent States from the Component's Cash Flows.
|
FundingLabel |
fundingLabel()
Get the Funding Curve Latent State Label
|
PredictorResponseWeightConstraint |
fundingPRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Funding
Curve Discount Factor Latent State from the Component's Cash Flows.
|
CaseInsensitiveTreeMap<FXLabel> |
fxLabel()
Get the Map of FX Latent State Identifier Labels
|
PredictorResponseWeightConstraint |
fxPRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged FX Curve
FX Forward Latent State from the Component's Cash Flows.
|
GovvieLabel |
govvieLabel()
Get the Govvie Curve Latent State Label
|
PredictorResponseWeightConstraint |
govviePRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Govvie
Curve FX Forward Latent State from the Component's Cash Flows.
|
double |
initialNotional()
Get the Initial Notional for the Product
|
WengertJacobian |
jackDDirtyPVDManifestMeasure(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp)
Compute the Jacobian of the Dirty PV to the Calibrated Input Manifest Measures
|
LastTradingDateSetting |
lastTradingDateSetting()
Retrieve the Option Last Trading Date Setting
|
java.lang.String |
manifestMeasure()
Retrieve the Manifest Measure on which the Option's Strike is quoted
|
WengertJacobian |
manifestMeasureDFMicroJack(java.lang.String strMainfestMeasure,
ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp)
Compute the micro-Jacobian of the given measure to the DF
|
JulianDate |
maturityDate()
Get the Maturity Date
|
java.lang.String |
name()
Get the component name
|
double |
notional()
Retrieve the Notional
|
double |
notional(int dblDate1)
Get the Notional for the Product at the given date
|
double |
notional(int dblDate1,
int dblDate2)
Get the time-weighted Notional for the Product between 2 dates
|
java.lang.String |
payCurrency()
Get the Pay Currency
|
java.lang.String |
primaryCode()
Return the primary code
|
java.lang.String |
principalCurrency()
Get the Principal Currency
|
void |
setPrimaryCode(java.lang.String strCode)
Set the component's primary code
|
double |
strike()
Retrieve the Strike
|
Component |
underlying()
Retrieve the Underlying Component
|
CaseInsensitiveTreeMap<VolatilityLabel> |
volatilityLabel()
Get the Map of Volatility Latent State Identifier Labels
|
calibPRWC, secondaryCode, volatilityPRWC
customScenarioMeasures, measureNames, measures, measureValue, pv, tenor, value
public Component underlying()
public java.lang.String manifestMeasure()
public double strike()
public double notional()
public JulianDate exerciseDate()
public LastTradingDateSetting lastTradingDateSetting()
public void setPrimaryCode(java.lang.String strCode)
CalibratableComponent
setPrimaryCode
in class CalibratableComponent
strCode
- Primary Codepublic java.lang.String primaryCode()
CalibratableComponent
primaryCode
in class CalibratableComponent
public java.lang.String name()
ComponentMarketParamRef
public CaseInsensitiveTreeMap<java.lang.String> couponCurrency()
ComponentMarketParamRef
public java.lang.String payCurrency()
ComponentMarketParamRef
public java.lang.String principalCurrency()
ComponentMarketParamRef
public JulianDate effectiveDate()
Component
effectiveDate
in class Component
public JulianDate maturityDate()
Component
maturityDate
in class Component
public JulianDate firstCouponDate()
Component
firstCouponDate
in class Component
public double initialNotional()
Component
initialNotional
in class Component
public double notional(int dblDate1)
Component
public double notional(int dblDate1, int dblDate2)
Component
public int freq()
Component
public CreditLabel creditLabel()
ComponentMarketParamRef
public CaseInsensitiveTreeMap<ForwardLabel> forwardLabel()
ComponentMarketParamRef
public FundingLabel fundingLabel()
ComponentMarketParamRef
public GovvieLabel govvieLabel()
ComponentMarketParamRef
public CaseInsensitiveTreeMap<FXLabel> fxLabel()
ComponentMarketParamRef
public CaseInsensitiveTreeMap<VolatilityLabel> volatilityLabel()
ComponentMarketParamRef
public CompositePeriodCouponMetrics couponMetrics(int iAccrualEndDate, ValuationParams valParams, CurveSurfaceQuoteContainer csqs)
Component
couponMetrics
in class Component
iAccrualEndDate
- Accrual End DatevalParams
- The Valuation Parameterscsqs
- Component Market Parameterspublic java.util.List<CompositePeriod> couponPeriods()
Component
couponPeriods
in class Component
public CashSettleParams cashSettleParams()
Component
cashSettleParams
in class Component
public ProductQuoteSet calibQuoteSet(LatentStateSpecification[] aLSS)
CalibratableComponent
calibQuoteSet
in class CalibratableComponent
aLSS
- Array of Latent State Specificationpublic CaseInsensitiveTreeMap<java.lang.Double> calibMeasures(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
CalibratableComponent
calibMeasures
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Market Parametersvcp
- Valuation Customization Parameterspublic PredictorResponseWeightConstraint forwardPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
CalibratableComponent
forwardPRWC
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspqs
- Product Quote Setpublic PredictorResponseWeightConstraint fundingPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
CalibratableComponent
fundingPRWC
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspqs
- Product Quote Setpublic PredictorResponseWeightConstraint fundingForwardPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
CalibratableComponent
fundingForwardPRWC
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspqs
- Product Quote Setpublic PredictorResponseWeightConstraint fxPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
CalibratableComponent
fxPRWC
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspqs
- Product Quote Setpublic PredictorResponseWeightConstraint govviePRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
CalibratableComponent
govviePRWC
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspqs
- Product Quote Setpublic WengertJacobian jackDDirtyPVDManifestMeasure(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
CalibratableComponent
jackDDirtyPVDManifestMeasure
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspublic WengertJacobian manifestMeasureDFMicroJack(java.lang.String strMainfestMeasure, ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
CalibratableComponent
manifestMeasureDFMicroJack
in class CalibratableComponent
strMainfestMeasure
- Manifest Measure NamevalParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameters