Class Calibrator
java.lang.Object
net.finmath.smartcontract.valuation.marketdata.curvecalibration.Calibrator
An object calibrating models from a stream of calibration spec providers
- Author:
- Luca Del Re, Peter Kohl-Landgraf, Christian Fries
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalibrateModel
(Stream<CalibrationSpecProvider> providers, CalibrationContext ctx) protected net.finmath.marketdata.calibration.CalibratedCurves
-
Field Details
-
DISCOUNT_EUR_OIS
- See Also:
-
-
Constructor Details
-
Calibrator
-
-
Method Details
-
getCalibratedCurves
protected net.finmath.marketdata.calibration.CalibratedCurves getCalibratedCurves() -
calibrateModel
public Optional<CalibrationResult> calibrateModel(Stream<CalibrationSpecProvider> providers, CalibrationContext ctx) throws CloneNotSupportedException - Parameters:
providers
- Stream providing calibration specs (calibration instruments)ctx
- The context providing reference date and accuracy.- Returns:
- If the calibration problem can be solved the optional wraps a AnalyticModel implementation with the calibrated model; if the problem is not solvable with respect to the given accuracy, the optional will be empty.
- Throws:
CloneNotSupportedException
- Thrown if model calibration fails.- See Also:
-