public class ForeignCollateralizedDiscountCurve extends ExplicitBootDiscountCurve
Constructor and Description |
---|
ForeignCollateralizedDiscountCurve(java.lang.String strCurrency,
MergedDiscountForwardCurve dcCollateralForeign,
FXCurve fxForward,
VolatilityCurve vcCollateralForeign,
VolatilityCurve vcFX,
R1ToR1 r1r1CollateralForeignFXCorrelation)
ForeignCollateralizedDiscountCurve constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
bumpNodeValue(int iNodeIndex,
double dblValue)
Bump the node value at the node specified the index by the value
|
java.util.Map<java.lang.Integer,java.lang.Double> |
canonicalTruthness(java.lang.String strLatentQuantificationMetric)
Convert the inferred Formulation Constraint into a "Truthness" Entity
|
FlatForwardDiscountCurve |
createBasisRateShiftedCurve(int[] aiDate,
double[] adblBasis)
Create a shifted curve from an array of basis shifts
|
ExplicitBootDiscountCurve |
customTweakManifestMeasure(java.lang.String strManifestMeasure,
ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Manifest Measure Tweak Parameters
|
Curve |
customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Quantification Metric Tweak Parameters
|
double |
df(int iDate)
Calculate the Discount Factor to the given Date
|
double |
forward(int iDate1,
int iDate2)
Compute the Forward Rate between two Dates
|
ForwardRateEstimator |
forwardRateEstimator(int iDate,
ForwardLabel fri)
Retrieve the Forward Curve that might be implied by the Latent State of this Discount Curve Instance
corresponding to the specified Floating Rate Index
|
WengertJacobian |
jackDDFDManifestMeasure(int iDate,
java.lang.String strManifestMeasure)
Retrieve the Manifest Measure Jacobian of the Discount Factor to the given date
|
java.lang.String |
latentStateQuantificationMetric()
Retrieve the Latent State Quantification Metric
|
FlatForwardDiscountCurve |
parallelShiftManifestMeasure(java.lang.String strManifestMeasure,
double dblShift)
Create a LatentState Instance from the Manifest Measure Parallel Shift
|
FlatForwardDiscountCurve |
parallelShiftQuantificationMetric(double dblShift)
Create a LatentState Instance from the Quantification Metric Parallel Shift
|
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
|
FlatForwardDiscountCurve |
shiftManifestMeasure(int iSpanIndex,
java.lang.String strManifestMeasure,
double dblShift)
Create a LatentState Instance from the Shift of the Specified Manifest Measure
|
double |
zero(int iDate)
Calculate the implied rate to the given date
|
calibComp, manifestMeasure, setCCIS
compJackDPVDManifestMeasure, compJackDPVDManifestMeasure, currency, df, df, effectiveDF, effectiveDF, effectiveDF, epoch, estimateManifestMeasure, forward, jackDDFDManifestMeasure, jackDDFDManifestMeasure, jackDForwardDManifestMeasure, jackDForwardDManifestMeasure, jackDForwardDManifestMeasure, label, libor, libor, libor, libor, nativeForwardCurve, parSwapDV01, setTurns, turnAdjust, zero, zeroRateJack, zeroRateJack
public ForeignCollateralizedDiscountCurve(java.lang.String strCurrency, MergedDiscountForwardCurve dcCollateralForeign, FXCurve fxForward, VolatilityCurve vcCollateralForeign, VolatilityCurve vcFX, R1ToR1 r1r1CollateralForeignFXCorrelation) throws java.lang.Exception
strCurrency
- The CurrencydcCollateralForeign
- The Collateralized Foreign Discount CurvefxForward
- The FX Forward CurvevcCollateralForeign
- The Foreign Collateral Volatility CurvevcFX
- The FX Volatility Curver1r1CollateralForeignFXCorrelation
- The FX Foreign Collateral Correlation Curvejava.lang.Exception
- Thrown if the Inputs are invalidpublic double df(int iDate) throws java.lang.Exception
DiscountFactorEstimator
iDate
- Datejava.lang.Exception
- Thrown if the Discount Factor cannot be calculatedpublic double forward(int iDate1, int iDate2) throws java.lang.Exception
MergedDiscountForwardCurve
forward
in class MergedDiscountForwardCurve
iDate1
- First DateiDate2
- Second Datejava.lang.Exception
- Thrown if the Forward Rate cannot be calculatedpublic double zero(int iDate) throws java.lang.Exception
MergedDiscountForwardCurve
zero
in class MergedDiscountForwardCurve
iDate
- Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic ForwardRateEstimator forwardRateEstimator(int iDate, ForwardLabel fri)
MergedDiscountForwardCurve
forwardRateEstimator
in class MergedDiscountForwardCurve
iDate
- The Datefri
- The Floating Rate Indexpublic java.util.Map<java.lang.Integer,java.lang.Double> canonicalTruthness(java.lang.String strLatentQuantificationMetric)
MergedDiscountForwardCurve
canonicalTruthness
in class MergedDiscountForwardCurve
strLatentQuantificationMetric
- Latent State Quantification Metricpublic FlatForwardDiscountCurve parallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)
LatentState
strManifestMeasure
- The Specified Manifest MeasuredblShift
- Parallel shift of the Manifest Measurepublic FlatForwardDiscountCurve shiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)
LatentState
iSpanIndex
- Index into the Span that identifies the InstrumentstrManifestMeasure
- The Specified Manifest MeasuredblShift
- Shift of the Manifest Measurepublic ExplicitBootDiscountCurve customTweakManifestMeasure(java.lang.String strManifestMeasure, ManifestMeasureTweak rvtp)
LatentState
strManifestMeasure
- The Specified Manifest Measurervtp
- Manifest Measure Tweak Parameterspublic FlatForwardDiscountCurve parallelShiftQuantificationMetric(double dblShift)
LatentState
dblShift
- Parallel shift of the Quantification Metricpublic Curve customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
LatentState
rvtp
- Quantification Metric Tweak Parameterspublic FlatForwardDiscountCurve createBasisRateShiftedCurve(int[] aiDate, double[] adblBasis)
ExplicitBootDiscountCurve
createBasisRateShiftedCurve
in class ExplicitBootDiscountCurve
aiDate
- Array of datesadblBasis
- Array of basispublic java.lang.String latentStateQuantificationMetric()
MergedDiscountForwardCurve
latentStateQuantificationMetric
in class MergedDiscountForwardCurve
public WengertJacobian jackDDFDManifestMeasure(int iDate, java.lang.String strManifestMeasure)
MergedDiscountForwardCurve
jackDDFDManifestMeasure
in class MergedDiscountForwardCurve
iDate
- DatestrManifestMeasure
- Manifest Measurepublic boolean setNodeValue(int iNodeIndex, double dblValue)
ExplicitBootCurve
iNodeIndex
- Node IndexdblValue
- Node Valuepublic boolean bumpNodeValue(int iNodeIndex, double dblValue)
ExplicitBootCurve
iNodeIndex
- node indexdblValue
- node bump valuepublic boolean setFlatValue(double dblValue)
ExplicitBootCurve
dblValue
- node value