quantlib.instruments.asian_options.
ContinuousAveragingAsianOption¶
- class ContinuousAveragingAsianOption(AverageType average_type, StrikedTypePayoff payoff, Exercise exercise)¶
Bases:
OneAssetOptionContinuous-averaging Asian option
- Parameters:
- average_type: Enum (Arithmetic or Geometric)
- payoffStrikedTypePayoff
- exerciseExercise
- Attributes:
- delta
- delta_forward
- dividend_rho
- elasticity
error_estimateReal: error estimate on the NPV when availableexercise- gamma
is_expiredbool: whether the instrument might have value greater than zero.- itm_cash_probability
net_present_valueThe net present value of the instrument.
npvA shortcut to the net_present_value property.
payoff- rho
- strike_sensitivity
- theta
- theta_per_day
valuation_dateDate: the date the net present value refers to.- vega
Methods
set_pricing_engine(self, PricingEngine engine)Sets the pricing engine to be used.