public interface TermStructureModel extends ProcessModel
Modifier and Type | Method and Description |
---|---|
AnalyticModel |
getAnalyticModel()
Return the associated analytic model, a collection of market date object like discount curve, forward curve
and volatility surfaces.
|
TermStructureModel |
getCloneWithModifiedData(Map<String,Object> dataModified)
Create a new object implementing TermStructureModel, using the new data.
|
DiscountCurve |
getDiscountCurve()
Return the discount curve associated the forwards.
|
default RandomVariable |
getForwardDiscountBond(double time,
double maturity)
Returns the time \( t \) forward bond derived from the numeraire, i.e., \( P(T;t) = E( \frac{N(t)}{N(T)} \vert \mathcal{F}_{t} ) \).
|
ForwardCurve |
getForwardRateCurve()
Return the initial forward rate curve.
|
RandomVariable |
getLIBOR(double time,
double periodStart,
double periodEnd)
Returns the time \( t \) forward rate on the models forward curve.
|
applyStateSpaceTransform, applyStateSpaceTransformInverse, getDrift, getFactorLoading, getInitialState, getNumberOfComponents, getNumberOfFactors, getNumeraire, getProcess, getRandomVariableForConstant, getReferenceDate, getTimeDiscretization, setProcess
RandomVariable getLIBOR(double time, double periodStart, double periodEnd) throws CalculationException
time
- The evaluation time.periodStart
- The period start of the forward rate.periodEnd
- The period end of the forward rate.CalculationException
- Thrown if model fails to calculate the random variable.default RandomVariable getForwardDiscountBond(double time, double maturity) throws CalculationException
time
- The evaluation time.maturity
- The maturity.CalculationException
- Thrown if model fails to calculate the random variable.AnalyticModel getAnalyticModel()
DiscountCurve getDiscountCurve()
ForwardCurve getForwardRateCurve()
TermStructureModel getCloneWithModifiedData(Map<String,Object> dataModified) throws CalculationException
getCloneWithModifiedData
in interface ProcessModel
dataModified
- A map with values to be used in constructions (keys are identical to parameter names of the constructors).CalculationException
- Thrown if the valuation fails, specific cause may be available via the cause()
method.Copyright © 2019. All rights reserved.