quantlib.models.shortrate.calibrationhelpers.swaption_helper.
SwaptionHelper¶
- class SwaptionHelper(maturity_or_exercise_date, length_or_end_date, Quote volatility, IborIndex index, Period fixed_leg_tenor, DayCounter fixed_leg_daycounter, DayCounter floating_leg_daycounter, HandleYieldTermStructure ts, CalibrationErrorType error_type=CalibrationErrorType.RelativePriceError, Real strike=Null[Real](), Real nominal=1.0, VolatilityType vol_type=VolatilityType.ShiftedLognormal, Real shift=0.0)¶
Bases:
BlackCalibrationHelperMethods
black_price(self, double volatility)calibration_error(self)impliedVolatility(self, Real targetValue, ...)market_value(self)model_value(self)set_pricing_engine(self, PricingEngine engine)underlying(self)underlying_swaption(self)