quantlib.instruments.forward.
Forward¶
- class Forward¶
Bases:
Instrument- Attributes:
error_estimateInstrument.error_estimate: Real
forward_valueforward value/price of underlying, discounting income/dividends
is_expiredInstrument.is_expired: bool
net_present_valueInstrument net present value.
npvShortcut to the net_present_value property.
spot_valuespot value/price of an underlying financial instrument
valuation_datethe date the net present value refers to.
Methods
implied_yield(self, ...)implied yield
set_pricing_engine(self, PricingEngine engine)Sets the pricing engine.
spot_income(self, ...)NPV of income/dividends/storate-cossts etc.