quantlib.instruments.oneassetoption.
OneAssetOption¶
- class OneAssetOption¶
Bases:
OptionBase class for option on a single asset
- Attributes:
- delta
- delta_forward
- dividend_rho
- elasticity
error_estimateInstrument.error_estimate: Real
exerciseOption.exercise: Exercise
- gamma
is_expiredInstrument.is_expired: bool
- itm_cash_probability
net_present_valueInstrument net present value.
npvShortcut to the net_present_value property.
payoffOption.payoff: Payoff
- rho
- strike_sensitivity
- theta
- theta_per_day
valuation_datethe date the net present value refers to.
- vega
Methods
set_pricing_engine(self, PricingEngine engine)Sets the pricing engine.