quantlib.instruments.option.Option¶
- class Option¶
Bases:
Instrument- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)set_pricing_engine(self, PricingEngine engine)Sets the pricing engine.
Attributes
exerciseis_expirednet_present_valueInstrument net present value.
npvShortcut to the net_present_value property.
payoffvaluation_date