Uses of Interface
net.finmath.marketdata2.model.AnalyticModel
-
Packages that use AnalyticModel Package Description net.finmath.marketdata2.calibration Provides classes to create a calibrated model of curves from a collection of calibration products and corresponding target values.net.finmath.marketdata2.model Provides interface specification and implementation of a model, which is essentially a collection of curves.net.finmath.marketdata2.model.curves Provides interface specification and implementation of curves, e.g., interest rate curves like discount curves and forward curves.net.finmath.marketdata2.products 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 AnalyticModel Modifier and Type Method Description AnalyticModelSolver. getCalibratedModel(Set<ParameterObject> objectsToCalibrate)Find the model such that the equationobjectiveFunctions.getValue(model) = 0holds.AnalyticModelCalibratedCurves. 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 AnalyticModel Constructor Description CalibratedCurves(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 AnalyticModel Modifier and Type Class Description classAnalyticModelFromCurvesAndVolsImplements 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 AnalyticModel Modifier and Type Method Description AnalyticModelAnalyticModel. addCurve(String name, Curve curve)Add a reference to a given curve under a given name to this model.AnalyticModelAnalyticModelFromCurvesAndVols. addCurve(String name, Curve curve)AnalyticModelAnalyticModelFromCurvesAndVols. addCurve(Curve curve)AnalyticModelAnalyticModel. addCurves(Set<Curve> curves)Create a new analytic model consisting of a clone of this one together with the given curves added.AnalyticModelAnalyticModel. addCurves(Curve... curves)Create a new analytic model consisting of a clone of this one together with the given curves added.AnalyticModelAnalyticModelFromCurvesAndVols. addCurves(Set<Curve> curves)AnalyticModelAnalyticModelFromCurvesAndVols. addCurves(Curve... curves)AnalyticModelAnalyticModelFromCurvesAndVols. addVolatilitySurface(VolatilitySurface volatilitySurface)AnalyticModelAnalyticModel. addVolatilitySurfaces(Set<VolatilitySurface> volatilitySurfaces)Create a new analytic model consisting of a clone of this one together with the given volatility surfaces added.AnalyticModelAnalyticModel. addVolatilitySurfaces(VolatilitySurface... volatilitySurfaces)AnalyticModelAnalyticModelFromCurvesAndVols. addVolatilitySurfaces(Set<VolatilitySurface> volatilitySurfaces)AnalyticModelAnalyticModelFromCurvesAndVols. addVolatilitySurfaces(VolatilitySurface... volatilitySurfaces)AnalyticModelAnalyticModel. clone()AnalyticModelAnalyticModel. getCloneForParameter(Map<ParameterObject,RandomVariable[]> curvesParameterPairs)AnalyticModelAnalyticModelFromCurvesAndVols. 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 AnalyticModel Modifier and Type Method Description static ForwardCurveInterpolationForwardCurveInterpolation. 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 ForwardCurveInterpolationForwardCurveInterpolation. 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 ForwardCurveInterpolationForwardCurveInterpolation. 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 ForwardCurveInterpolationForwardCurveInterpolation. 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 ForwardCurveInterpolationForwardCurveInterpolation. 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 ForwardCurveInterpolationForwardCurveInterpolation. 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.RandomVariableDiscountCurveFromForwardCurve. getDiscountFactor(AnalyticModel model, double maturity)RandomVariableDiscountCurveInterface. getDiscountFactor(AnalyticModel model, double maturity)Returns the discount factor for the corresponding maturity.RandomVariableDiscountCurveInterpolation. getDiscountFactor(AnalyticModel model, double maturity)RandomVariableForwardCurveFromDiscountCurve. getForward(AnalyticModel model, double fixingTime)RandomVariableForwardCurveFromDiscountCurve. getForward(AnalyticModel model, double fixingTime, double paymentOffset)RandomVariableForwardCurveInterface. getForward(AnalyticModel model, double fixingTime)Returns the forward for the corresponding fixing time.RandomVariableForwardCurveInterface. getForward(AnalyticModel model, double fixingTime, double paymentOffset)Returns the forward for the corresponding fixing time and paymentOffset.RandomVariableForwardCurveInterpolation. getForward(AnalyticModel model, double fixingTime)RandomVariableForwardCurveInterpolation. getForward(AnalyticModel model, double fixingTime, double paymentOffset)Returns the forward for the corresponding fixing time.RandomVariable[]AbstractForwardCurve. getForwards(AnalyticModel model, double[] fixingTimes)Returns the forwards for a given vector fixing times.RandomVariableCurve. 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.RandomVariableCurveInterpolation. getValue(AnalyticModel model, double time)RandomVariableDiscountCurveFromForwardCurve. getValue(AnalyticModel model, double time)RandomVariableForwardCurveFromDiscountCurve. getValue(AnalyticModel model, double time) -
Uses of AnalyticModel in net.finmath.marketdata2.products
Methods in net.finmath.marketdata2.products with parameters of type AnalyticModel Modifier and Type Method Description static RandomVariableSwap. getForwardSwapRate(Schedule fixSchedule, Schedule floatSchedule, ForwardCurveInterface forwardCurve, AnalyticModel model)RandomVariableDeposit. getRate(AnalyticModel model)Return the deposit rate implied by the given model's curve.RandomVariableForwardRateAgreement. getRate(AnalyticModel model)Return the par FRA rate for a given curve.static RandomVariableSwapAnnuity. getSwapAnnuity(double evaluationTime, Schedule schedule, DiscountCurveInterface discountCurve, AnalyticModel model)Function to calculate an (idealized) swap annuity for a given schedule and discount curve.RandomVariableAbstractAnalyticProduct. getValue(AnalyticModel model)RandomVariableAnalyticProduct. getValue(double evaluationTime, AnalyticModel model)Return the valuation of the product using the given model.RandomVariableCashflow. getValue(double evaluationTime, AnalyticModel model)RandomVariableDeposit. getValue(double evaluationTime, AnalyticModel model)RandomVariableForward. getValue(double evaluationTime, AnalyticModel model)RandomVariableForwardRateAgreement. getValue(double evaluationTime, AnalyticModel model)RandomVariableMarketForwardRateAgreement. getValue(double evaluationTime, AnalyticModel model)RandomVariablePerformance. getValue(double evaluationTime, AnalyticModel model)RandomVariablePortfolio. getValue(double evaluationTime, AnalyticModel model)RandomVariableSwap. getValue(double evaluationTime, AnalyticModel model)RandomVariableSwapAnnuity. getValue(double evaluationTime, AnalyticModel model)RandomVariableSwapLeg. getValue(double evaluationTime, AnalyticModel model)
-