public class FlatForwardFXCurve extends ExplicitBootFXCurve
| Constructor and Description |
|---|
FlatForwardFXCurve(int iEpochDate,
CurrencyPair cp,
double dblFXSpot,
int[] aiPillarDate,
double[] adblFXForward)
FlatForwardVolatilityCurve Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
bootstrapBasis(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
boolean bBasisOnDenom)
Bootstrap the basis to the discount curve inputs
|
MergedDiscountForwardCurve |
bootstrapBasisDC(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
boolean bBasisOnDenom)
Bootstrap the discount curve from the discount curve inputs
|
boolean |
bumpNodeValue(int iNodeIndex,
double dblValue)
Bump the node value at the node specified the index by the value
|
double |
fx(int iDate)
Calculate the FX Forward to the given Date
|
double |
fxSpot()
Retrieve the FX Spot
|
double[] |
impliedNodeRates(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
boolean bBasisOnDenom)
Calculate the rates implied by the discount curve inputs
|
WengertJacobian |
jackDForwardDManifestMeasure(java.lang.String strManifestMeasure,
int iDate)
Retrieve the Manifest Measure Jacobian of the Forward Rate to the given date
|
double |
rate(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
int iDate,
boolean bBasisOnDenom)
Calculate the rate implied by the discount curve inputs to a specified date
|
boolean |
setFlatValue(double dblValue)
Set the flat value across all the nodes
|
boolean |
setNodeValue(int iNodeIndex,
double dblValue)
Set the Value/Slope at the Node specified by the Index
|
double[] |
zeroBasis(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
boolean bBasisOnDenom)
Calculate the set of Zero basis given the input discount curves
|
calibComp, currency, currencyPair, customTweakManifestMeasure, customTweakQuantificationMetric, epoch, fx, fx, jackDForwardDManifestMeasure, jackDForwardDManifestMeasure, label, manifestMeasure, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, setCCIS, shiftManifestMeasureequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalibComp, currency, epoch, label, manifestMeasure, setCCIScustomTweakManifestMeasure, customTweakQuantificationMetric, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, shiftManifestMeasurepublic FlatForwardFXCurve(int iEpochDate,
CurrencyPair cp,
double dblFXSpot,
int[] aiPillarDate,
double[] adblFXForward)
throws java.lang.Exception
iEpochDate - Epoch Datecp - Currency PairdblFXSpot - FX SpotaiPillarDate - Array of the Pillar DatesadblFXForward - Array of the corresponding FX Forward Nodesjava.lang.Exception - Thrown if the Inputs are Invalidpublic double fx(int iDate)
throws java.lang.Exception
FXCurvepublic double fxSpot()
public double[] zeroBasis(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
boolean bBasisOnDenom)
FXCurvezeroBasis in class FXCurveaiDateNode - Array of Date NodesvalParams - Valuation ParametersdcNum - Discount Curve NumeratordcDenom - Discount Curve DenominatorbBasisOnDenom - True if the basis is calculated on the denominator discount curvepublic double[] impliedNodeRates(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
boolean bBasisOnDenom)
FXCurveimpliedNodeRates in class FXCurveaiDateNode - Array of Date NodesvalParams - Valuation ParametersdcNum - Discount Curve NumeratordcDenom - Discount Curve DenominatorbBasisOnDenom - True if the basis is calculated on the denominator discount curvepublic double[] bootstrapBasis(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
boolean bBasisOnDenom)
FXCurvebootstrapBasis in class FXCurveaiDateNode - Array of Date NodesvalParams - Valuation ParametersdcNum - Discount Curve NumeratordcDenom - Discount Curve DenominatorbBasisOnDenom - True if the basis is calculated on the denominator discount curvepublic MergedDiscountForwardCurve bootstrapBasisDC(int[] aiDateNode, ValuationParams valParams, MergedDiscountForwardCurve dcNum, MergedDiscountForwardCurve dcDenom, boolean bBasisOnDenom)
FXCurvebootstrapBasisDC in class FXCurveaiDateNode - Array of Date NodesvalParams - Valuation ParametersdcNum - Discount Curve NumeratordcDenom - Discount Curve DenominatorbBasisOnDenom - True if the basis is calculated on the denominator discount curvepublic double rate(int[] aiDateNode,
ValuationParams valParams,
MergedDiscountForwardCurve dcNum,
MergedDiscountForwardCurve dcDenom,
int iDate,
boolean bBasisOnDenom)
throws java.lang.Exception
FXCurverate in class FXCurveaiDateNode - Array of Date NodesvalParams - ValuationParamsdcNum - Discount Curve NumeratordcDenom - Discount Curve DenominatoriDate - Date to which the implied rate is soughtbBasisOnDenom - True if the implied rate is calculated on the denominator discount curvejava.lang.Exception - Thrown if the implied rate cannot be calculatedpublic WengertJacobian jackDForwardDManifestMeasure(java.lang.String strManifestMeasure, int iDate)
FXCurvejackDForwardDManifestMeasure in class FXCurvestrManifestMeasure - Manifest MeasureiDate - Datepublic boolean setNodeValue(int iNodeIndex,
double dblValue)
ExplicitBootCurveiNodeIndex - Node IndexdblValue - Node Valuepublic boolean bumpNodeValue(int iNodeIndex,
double dblValue)
ExplicitBootCurveiNodeIndex - node indexdblValue - node bump valuepublic boolean setFlatValue(double dblValue)
ExplicitBootCurvedblValue - node value