Uses of Interface
net.finmath.marketdata2.model.AnalyticModel
Packages that use AnalyticModel
Package
Description
Provides classes to create a calibrated model of curves from a collection of calibration
products and corresponding target values.
Provides interface specification and implementation of a model, which is essentially
a collection of curves.
Provides interface specification and implementation of curves, e.g., interest rate
curves like discount curves and forward curves.
Provides interface specification and implementation of products, e.g., calibration products.
-
Uses of AnalyticModel in net.finmath.marketdata2.calibration
Methods in net.finmath.marketdata2.calibration that return AnalyticModelModifier and TypeMethodDescriptionSolver.getCalibratedModel(Set<ParameterObject> objectsToCalibrate)
Find the model such that the equationobjectiveFunctions.getValue(model) = 0
holds.CalibratedCurves.getModel()
Return the calibrated model, i.e., the model maintaining a collection of curves calibrated to the given calibration specifications.Constructors in net.finmath.marketdata2.calibration with parameters of type AnalyticModelModifierConstructorDescriptionCalibratedCurves(List<CalibratedCurves.CalibrationSpec> calibrationSpecs, AnalyticModel calibrationModel, double evaluationTime, double calibrationAccuracy)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model.Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts)
Generate a solver for the given parameter objects (independents) and objective functions (dependents).Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts, double evaluationTime, double calibrationAccuracy)
Generate a solver for the given parameter objects (independents) and objective functions (dependents).Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, double evaluationTime, double calibrationAccuracy)
Generate a solver for the given parameter objects (independents) and objective functions (dependents).Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, ParameterTransformation parameterTransformation, double evaluationTime, double calibrationAccuracy)
Generate a solver for the given parameter objects (independents) and objective functions (dependents).Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, ParameterTransformation parameterTransformation, double evaluationTime, StochasticOptimizerFactory optimizerFactory)
Generate a solver for the given parameter objects (independents) and objective functions (dependents). -
Uses of AnalyticModel in net.finmath.marketdata2.model
Classes in net.finmath.marketdata2.model that implement AnalyticModelModifier and TypeClassDescriptionclass
Implements a collection of market data objects (e.g., discount curves, forward curve) which provide interpolation of market data or other derived quantities ("calibrated curves").Methods in net.finmath.marketdata2.model that return AnalyticModelModifier and TypeMethodDescriptionAdd a reference to a given curve under a given name to this model.Create a new analytic model consisting of a clone of this one together with the given curves added.Create a new analytic model consisting of a clone of this one together with the given curves added.AnalyticModelFromCurvesAndVols.addVolatilitySurface(VolatilitySurface volatilitySurface)
AnalyticModel.addVolatilitySurfaces(Set<VolatilitySurface> volatilitySurfaces)
Create a new analytic model consisting of a clone of this one together with the given volatility surfaces added.AnalyticModel.addVolatilitySurfaces(VolatilitySurface... volatilitySurfaces)
AnalyticModelFromCurvesAndVols.addVolatilitySurfaces(Set<VolatilitySurface> volatilitySurfaces)
AnalyticModelFromCurvesAndVols.addVolatilitySurfaces(VolatilitySurface... volatilitySurfaces)
AnalyticModel.clone()
AnalyticModel.getCloneForParameter(Map<ParameterObject,RandomVariable[]> curvesParameterPairs)
AnalyticModelFromCurvesAndVols.getCloneForParameter(Map<ParameterObject,RandomVariable[]> curveParameterPairs)
-
Uses of AnalyticModel in net.finmath.marketdata2.model.curves
Methods in net.finmath.marketdata2.model.curves with parameters of type AnalyticModelModifier and TypeMethodDescriptionstatic ForwardCurveInterpolation
ForwardCurveInterpolation.createForwardCurveFromForwards(String name, double[] times, double[] givenForwards, AnalyticModel model, String discountCurveName, double paymentOffset)
Create a forward curve from given times and given forwards with respect to an associated discount curve and payment offset.static ForwardCurveInterpolation
ForwardCurveInterpolation.createForwardCurveFromForwards(String name, double[] times, RandomVariable[] givenForwards, AnalyticModel model, String discountCurveName, double paymentOffset)
Create a forward curve from given times and given forwards with respect to an associated discount curve and payment offset.static ForwardCurveInterpolation
ForwardCurveInterpolation.createForwardCurveFromForwards(String name, LocalDate referenceDate, String paymentOffsetCode, String interpolationEntityForward, String discountCurveName, AnalyticModel model, double[] times, RandomVariable[] givenForwards)
Create a forward curve from given times and given forwards.static ForwardCurveInterpolation
ForwardCurveInterpolation.createForwardCurveFromForwards(String name, LocalDate referenceDate, String paymentOffsetCode, ForwardCurveInterpolation.InterpolationEntityForward interpolationEntityForward, String discountCurveName, AnalyticModel model, double[] times, RandomVariable[] givenForwards)
Create a forward curve from given times and given forwards.static ForwardCurveInterpolation
ForwardCurveInterpolation.createForwardCurveFromForwards(String name, LocalDate referenceDate, String paymentOffsetCode, BusinessdayCalendar paymentBusinessdayCalendar, BusinessdayCalendar.DateRollConvention paymentDateRollConvention, CurveInterpolation.InterpolationMethod interpolationMethod, CurveInterpolation.ExtrapolationMethod extrapolationMethod, CurveInterpolation.InterpolationEntity interpolationEntity, ForwardCurveInterpolation.InterpolationEntityForward interpolationEntityForward, String discountCurveName, AnalyticModel model, double[] times, RandomVariable[] givenForwards)
Create a forward curve from given times and given forwards.static ForwardCurveInterpolation
ForwardCurveInterpolation.createForwardCurveFromForwards(String name, Date referenceDate, String paymentOffsetCode, BusinessdayCalendar paymentBusinessdayCalendar, BusinessdayCalendar.DateRollConvention paymentDateRollConvention, CurveInterpolation.InterpolationMethod interpolationMethod, CurveInterpolation.ExtrapolationMethod extrapolationMethod, CurveInterpolation.InterpolationEntity interpolationEntity, ForwardCurveInterpolation.InterpolationEntityForward interpolationEntityForward, String discountCurveName, AnalyticModel model, double[] times, RandomVariable[] givenForwards)
Create a forward curve from given times and given forwards.DiscountCurveFromForwardCurve.getDiscountFactor(AnalyticModel model, double maturity)
DiscountCurveInterface.getDiscountFactor(AnalyticModel model, double maturity)
Returns the discount factor for the corresponding maturity.DiscountCurveInterpolation.getDiscountFactor(AnalyticModel model, double maturity)
ForwardCurveFromDiscountCurve.getForward(AnalyticModel model, double fixingTime)
ForwardCurveFromDiscountCurve.getForward(AnalyticModel model, double fixingTime, double paymentOffset)
ForwardCurveInterface.getForward(AnalyticModel model, double fixingTime)
Returns the forward for the corresponding fixing time.ForwardCurveInterface.getForward(AnalyticModel model, double fixingTime, double paymentOffset)
Returns the forward for the corresponding fixing time and paymentOffset.ForwardCurveInterpolation.getForward(AnalyticModel model, double fixingTime)
ForwardCurveInterpolation.getForward(AnalyticModel model, double fixingTime, double paymentOffset)
Returns the forward for the corresponding fixing time.AbstractForwardCurve.getForwards(AnalyticModel model, double[] fixingTimes)
Returns the forwards for a given vector fixing times.Curve.getValue(AnalyticModel model, double time)
Returns the value for the time using the interpolation method associated with this curve within a given context, i.e., a model.CurveInterpolation.getValue(AnalyticModel model, double time)
DiscountCurveFromForwardCurve.getValue(AnalyticModel model, double time)
ForwardCurveFromDiscountCurve.getValue(AnalyticModel model, double time)
-
Uses of AnalyticModel in net.finmath.marketdata2.products
Methods in net.finmath.marketdata2.products with parameters of type AnalyticModelModifier and TypeMethodDescriptionstatic RandomVariable
Swap.getForwardSwapRate(Schedule fixSchedule, Schedule floatSchedule, ForwardCurveInterface forwardCurve, AnalyticModel model)
Deposit.getRate(AnalyticModel model)
Return the deposit rate implied by the given model's curve.ForwardRateAgreement.getRate(AnalyticModel model)
Return the par FRA rate for a given curve.static RandomVariable
SwapAnnuity.getSwapAnnuity(double evaluationTime, Schedule schedule, DiscountCurveInterface discountCurve, AnalyticModel model)
Function to calculate an (idealized) swap annuity for a given schedule and discount curve.AbstractAnalyticProduct.getValue(AnalyticModel model)
AnalyticProduct.getValue(double evaluationTime, AnalyticModel model)
Return the valuation of the product using the given model.Cashflow.getValue(double evaluationTime, AnalyticModel model)
Deposit.getValue(double evaluationTime, AnalyticModel model)
Forward.getValue(double evaluationTime, AnalyticModel model)
ForwardRateAgreement.getValue(double evaluationTime, AnalyticModel model)
MarketForwardRateAgreement.getValue(double evaluationTime, AnalyticModel model)
Performance.getValue(double evaluationTime, AnalyticModel model)
Portfolio.getValue(double evaluationTime, AnalyticModel model)
Swap.getValue(double evaluationTime, AnalyticModel model)
SwapAnnuity.getValue(double evaluationTime, AnalyticModel model)
SwapLeg.getValue(double evaluationTime, AnalyticModel model)