public abstract class MergedDiscountForwardCurve extends java.lang.Object implements DiscountCurve
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,java.lang.Double> |
canonicalTruthness(java.lang.String strLatentStateQuantificationMetric)
Convert the inferred Formulation Constraint into a "Truthness" Entity
|
WengertJacobian |
compJackDPVDManifestMeasure(int iDate)
Calculate the Jacobian of PV at the given date to the Manifest Measure of each component in the
calibration set to the DF
|
WengertJacobian |
compJackDPVDManifestMeasure(JulianDate dt)
Calculate the Jacobian of PV at the given date to the Manifest Measure of each component in the
calibration set to the DF
|
java.lang.String |
currency()
Get the Currency
|
double |
df(JulianDate dt)
Calculate the discount factor to the given date
|
double |
df(java.lang.String strTenor)
Calculate the Discount Factor to the given Tenor
|
double |
effectiveDF(int iDate1,
int iDate2)
Compute the time-weighted discount factor between 2 dates
|
double |
effectiveDF(JulianDate dt1,
JulianDate dt2)
Compute the time-weighted discount factor between 2 dates
|
double |
effectiveDF(java.lang.String strTenor1,
java.lang.String strTenor2)
Compute the time-weighted discount factor between 2 tenors
|
JulianDate |
epoch()
Get the Epoch Date
|
double |
estimateManifestMeasure(java.lang.String strManifestMeasure,
int iDate)
Estimate the manifest measure value for the given date
|
abstract double |
forward(int iDate1,
int iDate2)
Compute the Forward Rate between two Dates
|
double |
forward(java.lang.String strTenor1,
java.lang.String strTenor2)
Compute the Forward Rate between two Tenors
|
abstract 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
|
abstract WengertJacobian |
jackDDFDManifestMeasure(int iDate,
java.lang.String strManifestMeasure)
Retrieve the Manifest Measure Jacobian of the Discount Factor to the given date
|
WengertJacobian |
jackDDFDManifestMeasure(JulianDate dt,
java.lang.String strManifestMeasure)
Retrieve the Manifest Measure Jacobian of the Discount Factor to the given date
|
WengertJacobian |
jackDDFDManifestMeasure(java.lang.String strTenor,
java.lang.String strManifestMeasure)
Retrieve the Manifest Measure Jacobian of the Discount Factor to the date implied by the given Tenor
|
WengertJacobian |
jackDForwardDManifestMeasure(int iDate1,
int iDate2,
java.lang.String strManifestMeasure,
double dblElapsedYear)
Retrieve the Jacobian of the Forward Rate to the Manifest Measure between the given dates
|
WengertJacobian |
jackDForwardDManifestMeasure(JulianDate dt1,
JulianDate dt2,
java.lang.String strManifestMeasure,
double dblElapsedYear)
Retrieve the Jacobian of the Forward Rate to the Manifest Measure between the given dates
|
WengertJacobian |
jackDForwardDManifestMeasure(JulianDate dt,
java.lang.String strTenor,
java.lang.String strManifestMeasure,
double dblElapsedYear)
Retrieve the Jacobian of the Forward Rate to the Manifest Measure at the given date
|
LatentStateLabel |
label()
Get the Curve Latent State Identifier Label
|
abstract java.lang.String |
latentStateQuantificationMetric()
Retrieve the Latent State Quantification Metric
|
double |
libor(int iDate1,
int iDate2)
Compute the LIBOR between 2 dates
|
double |
libor(int iDate1,
int iDate2,
double dblDCF)
Compute the LIBOR between 2 dates given the Day Count
|
double |
libor(int iStartDate,
java.lang.String strTenor)
Calculate the LIBOR to the given tenor at the specified date
|
double |
libor(JulianDate dt,
java.lang.String strTenor)
Calculate the LIBOR to the given tenor at the specified Julian Date
|
ForwardCurve |
nativeForwardCurve(java.lang.String strTenor)
Construct the Native Forward Curve for the given Tenor from the Discount Curve
|
double |
parSwapDV01(int iDate)
Calculate the DV01 of the Par Swap that Matures at the given date
|
boolean |
setCCIS(CurveConstructionInputSet ccis)
Set the Curve Construction Input Set Parameters
|
boolean |
setTurns(TurnListDiscountFactor tldf)
Set the Discount Curve Turns'
|
double |
turnAdjust(int iStartDate,
int iFinishDate)
Apply the Turns' DF Adjustment
|
abstract double |
zero(int iDate)
Calculate the implied rate to the given date
|
double |
zero(java.lang.String strTenor)
Calculate the implied rate to the given tenor
|
WengertJacobian |
zeroRateJack(int iDate,
java.lang.String strManifestMeasure)
Retrieve the Jacobian for the Zero Rate to the given date
|
WengertJacobian |
zeroRateJack(JulianDate dt,
java.lang.String strManifestMeasure)
Retrieve the Jacobian for the Zero Rate to the given date
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calibComp, manifestMeasure
customTweakManifestMeasure, customTweakQuantificationMetric, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, shiftManifestMeasure
df
public LatentStateLabel label()
Curve
public java.lang.String currency()
Curve
public JulianDate epoch()
Curve
epoch
in interface Curve
epoch
in interface DiscountFactorEstimator
public boolean setTurns(TurnListDiscountFactor tldf)
tldf
- Turn List Discount Factorpublic double turnAdjust(int iStartDate, int iFinishDate) throws java.lang.Exception
iStartDate
- Turn Start DateiFinishDate
- Turn Finish Datejava.lang.Exception
- Thrown if the Inputs are invalidpublic ForwardCurve nativeForwardCurve(java.lang.String strTenor)
strTenor
- The Tenorpublic double df(JulianDate dt) throws java.lang.Exception
DiscountFactorEstimator
df
in interface DiscountFactorEstimator
dt
- Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double df(java.lang.String strTenor) throws java.lang.Exception
DiscountFactorEstimator
df
in interface DiscountFactorEstimator
strTenor
- Tenorjava.lang.Exception
- Thrown if the Discount Factor cannot be calculatedpublic double effectiveDF(int iDate1, int iDate2) throws java.lang.Exception
DiscountFactorEstimator
effectiveDF
in interface DiscountFactorEstimator
iDate1
- First DateiDate2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double effectiveDF(JulianDate dt1, JulianDate dt2) throws java.lang.Exception
DiscountFactorEstimator
effectiveDF
in interface DiscountFactorEstimator
dt1
- First Datedt2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double effectiveDF(java.lang.String strTenor1, java.lang.String strTenor2) throws java.lang.Exception
DiscountFactorEstimator
effectiveDF
in interface DiscountFactorEstimator
strTenor1
- First DatestrTenor2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic abstract double forward(int iDate1, int iDate2) throws java.lang.Exception
iDate1
- First DateiDate2
- Second Datejava.lang.Exception
- Thrown if the Forward Rate cannot be calculatedpublic double forward(java.lang.String strTenor1, java.lang.String strTenor2) throws java.lang.Exception
strTenor1
- Tenor StartstrTenor2
- Tenor Endjava.lang.Exception
- Thrown if the Forward Rate cannot be calculatedpublic abstract double zero(int iDate) throws java.lang.Exception
iDate
- Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double zero(java.lang.String strTenor) throws java.lang.Exception
strTenor
- Tenorjava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double libor(int iDate1, int iDate2, double dblDCF) throws java.lang.Exception
iDate1
- First DateiDate2
- Second DatedblDCF
- Day Count Fractionjava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double libor(int iDate1, int iDate2) throws java.lang.Exception
iDate1
- First DateiDate2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculatedpublic double libor(int iStartDate, java.lang.String strTenor) throws java.lang.Exception
iStartDate
- Start DatestrTenor
- Tenorjava.lang.Exception
- Thrown if LIBOR cannot be calculatedpublic double libor(JulianDate dt, java.lang.String strTenor) throws java.lang.Exception
dt
- Julian DatestrTenor
- Tenorjava.lang.Exception
- Thrown if LIBOR cannot be calculatedpublic double parSwapDV01(int iDate) throws java.lang.Exception
iDate
- Datejava.lang.Exception
- Thrown if DV01 cannot be calculatedpublic double estimateManifestMeasure(java.lang.String strManifestMeasure, int iDate) throws java.lang.Exception
strManifestMeasure
- The Manifest Measure to be EstimatediDate
- Datejava.lang.Exception
- Thrown if the estimated manifest measure cannot be computedpublic boolean setCCIS(CurveConstructionInputSet ccis)
Curve
public abstract ForwardRateEstimator forwardRateEstimator(int iDate, ForwardLabel fri)
iDate
- The Datefri
- The Floating Rate Indexpublic abstract java.lang.String latentStateQuantificationMetric()
public abstract WengertJacobian jackDDFDManifestMeasure(int iDate, java.lang.String strManifestMeasure)
iDate
- DatestrManifestMeasure
- Manifest Measurepublic WengertJacobian jackDDFDManifestMeasure(JulianDate dt, java.lang.String strManifestMeasure)
dt
- DatestrManifestMeasure
- Manifest Measurepublic WengertJacobian jackDDFDManifestMeasure(java.lang.String strTenor, java.lang.String strManifestMeasure)
strTenor
- TenorstrManifestMeasure
- Manifest Measurepublic WengertJacobian compJackDPVDManifestMeasure(int iDate)
iDate
- Date for which the Jacobian is neededpublic WengertJacobian compJackDPVDManifestMeasure(JulianDate dt)
dt
- Date for which the Jacobian is neededpublic WengertJacobian jackDForwardDManifestMeasure(int iDate1, int iDate2, java.lang.String strManifestMeasure, double dblElapsedYear)
iDate1
- Date 1iDate2
- Date 2strManifestMeasure
- Manifest MeasuredblElapsedYear
- The Elapsed Year (in the appropriate Day Count) between dates 1 and 2public WengertJacobian jackDForwardDManifestMeasure(JulianDate dt1, JulianDate dt2, java.lang.String strManifestMeasure, double dblElapsedYear)
dt1
- Julian Date 1dt2
- Julian Date 2strManifestMeasure
- Manifest MeasuredblElapsedYear
- The Elapsed Year (in the appropriate Day Count) between dates 1 and 2public WengertJacobian jackDForwardDManifestMeasure(JulianDate dt, java.lang.String strTenor, java.lang.String strManifestMeasure, double dblElapsedYear)
dt
- Given Julian DatestrTenor
- TenorstrManifestMeasure
- Manifest MeasuredblElapsedYear
- The Elapsed Year (in the appropriate Day Count) implied by the Tenorpublic WengertJacobian zeroRateJack(int iDate, java.lang.String strManifestMeasure)
iDate
- DatestrManifestMeasure
- Manifest Measurepublic WengertJacobian zeroRateJack(JulianDate dt, java.lang.String strManifestMeasure)
dt
- Julian DatestrManifestMeasure
- Manifest Measurepublic java.util.Map<java.lang.Integer,java.lang.Double> canonicalTruthness(java.lang.String strLatentStateQuantificationMetric)
strLatentStateQuantificationMetric
- Latent State Quantification Metric