quantlib.termstructures.volatility.equityfx.local_vol_surface.
LocalVolSurface¶
- class LocalVolSurface(HandleBlackVolTermStructure black_ts, HandleYieldTermStructure risk_free_ts, HandleYieldTermStructure dividend_ts, Quote underlying)¶
Bases:
LocalVolTermStructure- Attributes:
calendarCalendar: calendarday_counterDayCounter: day counter- extrapolation
max_dateDate: the latest date for which the curve can return valuesmax_timeTime: the latest time for which the curve can return valuesreference_dateDate: the date at which discount = 1.0 and/or variance = 0.0settlement_daysint: number of settlement days used for reference date calculation
Methods
localVol(self, d, Real underlying_level, ...)option_date_from_tenor(self, Period period)time_from_reference(self, Date dt)date/time conversion