org.jquantlib.model.shortrate.calibrationhelpers
Class SwaptionHelper
- java.lang.Object
-
- org.jquantlib.model.CalibrationHelper
-
- org.jquantlib.model.shortrate.calibrationhelpers.SwaptionHelper
-
- All Implemented Interfaces:
- Observable, Observer
public class SwaptionHelper extends CalibrationHelper
-
-
Constructor Summary
Constructors Constructor and Description SwaptionHelper(Handle<Quote> volatility, Handle<YieldTermStructure> termStructure, boolean calibrateVolatility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddTimesTo(java.util.ArrayList<Time> times)doubleblackPrice(double volatility)doublecalibrationError()doubleimpliedVolatility(double targetValue, double accuracy, int maxEvaluations, double minVol, double maxVol)doublemodelValue()-
Methods inherited from class org.jquantlib.model.CalibrationHelper
addObserver, countObservers, deleteObserver, deleteObservers, getObservers, notifyObservers, notifyObservers, setPricingEngine, update
-
-
-
-
Constructor Detail
-
SwaptionHelper
public SwaptionHelper(Handle<Quote> volatility, Handle<YieldTermStructure> termStructure, boolean calibrateVolatility)
-
-
Method Detail
-
addTimesTo
public void addTimesTo(java.util.ArrayList<Time> times)
- Specified by:
addTimesToin classCalibrationHelper
-
blackPrice
public double blackPrice(double volatility)
- Specified by:
blackPricein classCalibrationHelper
-
calibrationError
public double calibrationError()
- Overrides:
calibrationErrorin classCalibrationHelper
-
impliedVolatility
public double impliedVolatility(double targetValue, double accuracy, int maxEvaluations, double minVol, double maxVol)- Overrides:
impliedVolatilityin classCalibrationHelper
-
modelValue
public double modelValue()
- Specified by:
modelValuein classCalibrationHelper
-
-
DataMelt 3.0 © DataMelt by jWork.ORG