public class Stream
extends java.lang.Object
Constructor and Description |
---|
Stream(java.util.List<CompositePeriod> lsPeriod)
Stream constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
accrualDC()
Retrieve the Accrual Day Count
|
boolean |
accrualEOMAdjustment()
Retrieve the Accrual EOM Adjustment
|
java.util.Set<java.lang.String> |
availableMeasures()
Retrieve the set of the implemented measures
|
double |
basis()
Retrieve the Stream Coupon Basis
|
java.lang.String |
calendar()
Retrieve the Calendar
|
ProductQuoteSet |
calibQuoteSet(LatentStateSpecification[] aLSS)
Generate the Calibration Quote Set corresponding to the specified Latent State Array
|
java.util.Set<java.lang.String> |
cashflowCurrencySet()
Retrieve the Cash Flow Currency Set
|
java.util.List<CompositePeriod> |
cashFlowPeriod()
Retrieve the Coupon Period List
|
CompositePeriod |
containingPeriod(int iDate)
Retrieve the Period Instance enveloping the specified Date
|
CompositePeriodCouponMetrics |
coupon(int iAccrualEndDate,
ValuationParams valParams,
CurveSurfaceQuoteContainer csqs)
Get the Coupon Metrics for the period corresponding to the specified accrual end date
|
java.lang.String |
couponCurrency()
Retrieve the Coupon Currency
|
java.lang.String |
couponDC()
Retrieve the Coupon Day Count
|
boolean |
couponEOMAdjustment()
Retrieve the Coupon EOM Adjustment
|
CreditLabel |
creditLabel()
Retrieve the Credit Label
|
JulianDate |
effective()
Retrieve the Effective Date
|
JulianDate |
firstCouponDate()
Retrieve the First Coupon Pay Date
|
ForwardLabel |
forwardLabel()
Retrieve the Forward Label
|
PredictorResponseWeightConstraint |
forwardPRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the State Loading Constraints for the Forward Latent State
|
int |
freq()
Retrieve the Stream Frequency
|
PredictorResponseWeightConstraint |
fundingForwardPRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the State Loading Constraints for the Merged Forward/Funding Latent State
|
FundingLabel |
fundingLabel()
Retrieve the Funding Label
|
PredictorResponseWeightConstraint |
fundingPRWC(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
ProductQuoteSet pqs)
Generate the State Loading Constraints for the Funding Latent State
|
FXLabel |
fxLabel()
Retrieve the FX Label
|
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.
|
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 Yield Latent State from the Component's Cash Flows.
|
double |
initialNotional()
Retrieve the Initial Notional
|
WengertJacobian |
jackDDirtyPVDManifestMeasure(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp)
Generate the Jacobian of the Dirty PV to the Manifest Measure
|
WengertJacobian |
manifestMeasureDFMicroJack(java.lang.String strManifestMeasure,
ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp)
Generate the micro-Jacobian of the Manifest Measure to the Discount Factor
|
JulianDate |
maturity()
Retrieve the Maturity Date
|
java.lang.String |
name()
Retrieve the Stream Name
|
double |
notional(int iDate)
Retrieve the Notional corresponding to the specified Date
|
double |
notional(int iDate1,
int iDate2)
Retrieve the Notional aggregated over the Date Pairs
|
java.lang.String |
payCurrency()
Retrieve the Pay Currency
|
java.util.List<CompositePeriod> |
periods()
Retrieve a list of the component's coupon periods
|
double |
pv(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqc,
ValuationCustomizationParams vcp)
Compute the PV for the specified Market Parameters
|
CaseInsensitiveTreeMap<java.lang.Double> |
value(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp)
Generate a Value Map for the Stream
|
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 Curve Volatility Latent State from the Component's Cash Flows.
|
public Stream(java.util.List<CompositePeriod> lsPeriod) throws java.lang.Exception
lsPeriod
- List of the Coupon Periodsjava.lang.Exception
- Thrown if inputs are invalidpublic java.util.List<CompositePeriod> periods()
public int freq()
public java.lang.String couponDC()
public boolean couponEOMAdjustment()
public java.lang.String calendar()
public java.lang.String accrualDC()
public boolean accrualEOMAdjustment()
public CreditLabel creditLabel()
public ForwardLabel forwardLabel()
public FundingLabel fundingLabel()
public FXLabel fxLabel()
public java.util.List<CompositePeriod> cashFlowPeriod()
public CompositePeriod containingPeriod(int iDate)
iDate
- The Datepublic double initialNotional()
public double notional(int iDate) throws java.lang.Exception
iDate
- The Datejava.lang.Exception
- Thrown if the Notional cannot be computedpublic double notional(int iDate1, int iDate2) throws java.lang.Exception
iDate1
- The Date #1iDate2
- The Date #2java.lang.Exception
- Thrown if the Notional cannot be computedpublic JulianDate effective()
public JulianDate maturity()
public JulianDate firstCouponDate()
public java.lang.String couponCurrency()
public java.lang.String payCurrency()
public java.util.Set<java.lang.String> cashflowCurrencySet()
public java.lang.String name()
public CompositePeriodCouponMetrics coupon(int iAccrualEndDate, ValuationParams valParams, CurveSurfaceQuoteContainer csqs)
iAccrualEndDate
- The Accrual End DatevalParams
- Valuation parameterscsqs
- Market Parameterspublic ProductQuoteSet calibQuoteSet(LatentStateSpecification[] aLSS)
aLSS
- The Latent State Arraypublic double basis()
public CaseInsensitiveTreeMap<java.lang.Double> value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
valParams
- The Valuation ParameterspricerParams
- The Pricer parameterscsqs
- The Market Parametersvcp
- Valuation Customization Parameterspublic java.util.Set<java.lang.String> availableMeasures()
public double pv(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqc, ValuationCustomizationParams vcp) throws java.lang.Exception
valParams
- ValuationParamspricerParams
- PricerParamscsqc
- Market Parametersvcp
- Valuation Customization Parametersjava.lang.Exception
- Thrown if the PV cannot be computedpublic PredictorResponseWeightConstraint forwardPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
valParams
- The Valuation ParameterspricerParams
- The Pricer parameterscsqs
- The Market Parametersvcp
- Valuation Customization Parameterspqs
- The Product Calibration Quote Setpublic PredictorResponseWeightConstraint fundingPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
valParams
- The Valuation ParameterspricerParams
- The Pricer parameterscsqs
- The Market Parametersvcp
- Valuation Customization Parameterspqs
- The Product Calibration Quote Setpublic PredictorResponseWeightConstraint fundingForwardPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
valParams
- The Valuation ParameterspricerParams
- The Pricer parameterscsqs
- The Market Parametersvcp
- Valuation Customization Parameterspqs
- The Product Calibration Quote Setpublic PredictorResponseWeightConstraint fxPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
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)
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspqs
- Product Quote Setpublic PredictorResponseWeightConstraint volatilityPRWC(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, ProductQuoteSet pqs)
valParams
- Valuation ParameterspricerParams
- Pricer Parameterscsqs
- Component Market Parametersvcp
- Valuation Customization Parameterspqs
- Product Quote Setpublic WengertJacobian jackDDirtyPVDManifestMeasure(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
valParams
- The Valuation ParameterspricerParams
- The Pricer parameterscsqs
- The Market Parametersvcp
- Valuation Customization Parameterspublic WengertJacobian manifestMeasureDFMicroJack(java.lang.String strManifestMeasure, ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp)
strManifestMeasure
- The Manifest MeasurevalParams
- The Valuation ParameterspricerParams
- The Pricer parameterscsqs
- The Market Parametersvcp
- Valuation Customization Parameters