public class FloatFloatComponent extends RatesComponent
NULL_SER_STRING, VERSION
Constructor and Description |
---|
FloatFloatComponent(byte[] ab)
De-serialize the FloatFloatComponent from the byte array
|
FloatFloatComponent(FloatingStream floatReference,
FloatingStream floatDerived)
Construct the FloatFloatComponent from the Reference and the Derived Floating Streams.
|
Modifier and Type | Method and Description |
---|---|
WengertJacobian |
calcPVDFMicroJack(ValuationParams valParams,
PricerParams pricerParams,
ComponentMarketParams mktParams,
QuotingParams quotingParams)
Compute the micro-Jacobian of the PV to the DF
|
WengertJacobian |
calcQuoteDFMicroJack(java.lang.String strQuote,
ValuationParams valParams,
PricerParams pricerParams,
ComponentMarketParams mktParams,
QuotingParams quotingParams)
Compute the micro-Jacobian of the given measure to the DF
|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
PredictorResponseWeightConstraint |
generateCalibPRLC(ValuationParams valParams,
PricerParams pricerParams,
ComponentMarketParams mktParams,
QuotingParams quotingParams,
LatentStateMetricMeasure lsmm)
Generate the Calibratable Linearized Predictor/Response Constraints for the Component from the Market
Inputs.
|
java.util.List<CashflowPeriod> |
getCashFlowPeriod()
Get the Component's Cash Flow Periods
|
CashSettleParams |
getCashSettleParams()
Get the component cash settlement parameters
|
java.lang.String |
getComponentName()
Get the component name
|
double |
getCoupon(double dblValue,
ComponentMarketParams mktParams)
Get the component's coupon at the given date
|
java.lang.String |
getCreditCurveName()
Get the credit curve name
|
FloatingStream |
getDerivedStream()
Retrieve the Derived Stream
|
java.lang.String |
getEDSFCurveName()
Get the EDSF curve name
|
JulianDate |
getEffectiveDate()
Get the Effective Date
|
java.lang.String |
getFieldDelimiter()
Returns the Field Delimiter String
|
JulianDate |
getFirstCouponDate()
Get the First Coupon Date
|
java.lang.String |
getForwardCurveName()
Get the Forward Curve Name
|
double |
getInitialNotional()
Get the Initial Notional for the Component
|
java.lang.String |
getIRCurveName()
Get the IR curve name
|
JulianDate |
getMaturityDate()
Get the Maturity Date
|
java.util.Set<java.lang.String> |
getMeasureNames()
Retrieve the ordered set of the measure names whose values will be calculated
|
double |
getNotional(double dblDate)
Get the Notional for the Component at the given date
|
double |
getNotional(double dblDate1,
double dblDate2)
Get the time-weighted Notional for the Component between 2 dates
|
java.lang.String |
getObjectTrailer()
Returns the Object Trailer String
|
java.lang.String |
getPrimaryCode()
Return the primary code
|
FloatingStream |
getReferenceStream()
Retrieve the Reference Stream
|
java.lang.String |
getTreasuryCurveName()
Get the treasury curve name
|
byte[] |
serialize()
Serialize into a byte array.
|
boolean |
setCurves(java.lang.String strIR,
java.lang.String strIRTSY,
java.lang.String strCC)
Set the component's IR, treasury, and credit curve names
|
void |
setPrimaryCode(java.lang.String strCode)
Set the component's primary code
|
CaseInsensitiveTreeMap<java.lang.Double> |
value(ValuationParams valParams,
PricerParams pricerParams,
ComponentMarketParams mktParams,
QuotingParams quotingParams)
Generate a full list of the component measures for the full input set of market parameters
|
getSecondaryCode, terminalDate
calcCustomScenarioMeasures, calcMeasures, calcMeasureValue, tenor
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter
public FloatFloatComponent(FloatingStream floatReference, FloatingStream floatDerived) throws java.lang.Exception
floatReference
- The Reference Floating Stream (e.g., 6M LIBOR/EURIBOR Leg)floatDerived
- The Derived Floating Stream (e.g., 3M LIBOR/EURIBOR Leg)java.lang.Exception
- Thrown if the inputs are invalidpublic FloatFloatComponent(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if the FloatFloatComponent cannot be de-serialized from the byte
arraypublic void setPrimaryCode(java.lang.String strCode)
CalibratableComponent
setPrimaryCode
in class CalibratableComponent
strCode
- Primary Codepublic java.lang.String getPrimaryCode()
CalibratableComponent
getPrimaryCode
in class CalibratableComponent
public java.lang.String getComponentName()
ComponentMarketParamRef
public java.lang.String getTreasuryCurveName()
ComponentMarketParamRef
public java.lang.String getEDSFCurveName()
ComponentMarketParamRef
public double getInitialNotional() throws java.lang.Exception
Component
getInitialNotional
in class Component
java.lang.Exception
- Thrown if Initial Notional cannot be computedpublic double getNotional(double dblDate) throws java.lang.Exception
Component
getNotional
in class Component
dblDate
- Double date inputjava.lang.Exception
- Thrown if Notional cannot be computedpublic double getNotional(double dblDate1, double dblDate2) throws java.lang.Exception
Component
getNotional
in class Component
dblDate1
- Double date firstdblDate2
- Double date secondjava.lang.Exception
- Thrown if Notional cannot be computedpublic boolean setCurves(java.lang.String strIR, java.lang.String strIRTSY, java.lang.String strCC)
Component
public double getCoupon(double dblValue, ComponentMarketParams mktParams) throws java.lang.Exception
Component
public java.lang.String getIRCurveName()
ComponentMarketParamRef
public java.lang.String getForwardCurveName()
ComponentMarketParamRef
public java.lang.String getCreditCurveName()
ComponentMarketParamRef
public FloatingStream getReferenceStream()
public FloatingStream getDerivedStream()
public JulianDate getEffectiveDate()
Component
getEffectiveDate
in class Component
public JulianDate getMaturityDate()
Component
getMaturityDate
in class Component
public JulianDate getFirstCouponDate()
Component
getFirstCouponDate
in class Component
public java.util.List<CashflowPeriod> getCashFlowPeriod()
Component
getCashFlowPeriod
in class Component
public CashSettleParams getCashSettleParams()
Component
getCashSettleParams
in class Component
public CaseInsensitiveTreeMap<java.lang.Double> value(ValuationParams valParams, PricerParams pricerParams, ComponentMarketParams mktParams, QuotingParams quotingParams)
Component
public java.util.Set<java.lang.String> getMeasureNames()
Component
getMeasureNames
in class Component
public WengertJacobian calcPVDFMicroJack(ValuationParams valParams, PricerParams pricerParams, ComponentMarketParams mktParams, QuotingParams quotingParams)
CalibratableComponent
calcPVDFMicroJack
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer ParametersmktParams
- Component Market ParametersquotingParams
- Component Quoting Parameterspublic WengertJacobian calcQuoteDFMicroJack(java.lang.String strQuote, ValuationParams valParams, PricerParams pricerParams, ComponentMarketParams mktParams, QuotingParams quotingParams)
CalibratableComponent
calcQuoteDFMicroJack
in class CalibratableComponent
strQuote
- Quote NamevalParams
- Valuation ParameterspricerParams
- Pricer ParametersmktParams
- Component Market ParametersquotingParams
- Component Quoting Parameterspublic PredictorResponseWeightConstraint generateCalibPRLC(ValuationParams valParams, PricerParams pricerParams, ComponentMarketParams mktParams, QuotingParams quotingParams, LatentStateMetricMeasure lsmm)
CalibratableComponent
generateCalibPRLC
in class CalibratableComponent
valParams
- Valuation ParameterspricerParams
- Pricer ParametersmktParams
- Component Market ParametersquotingParams
- Component Quoting Parameterslsmm
- The Latent State Metric and the Component Measurepublic java.lang.String getFieldDelimiter()
Serializer
getFieldDelimiter
in class Serializer
public java.lang.String getObjectTrailer()
Serializer
getObjectTrailer
in class Serializer
public byte[] serialize()
Serializer
serialize
in class Serializer
public Serializer deserialize(byte[] ab)
Serializer
deserialize
in class Serializer