quantlib.instruments.overnightindexfuture.
OvernightIndexFuture¶
- class OvernightIndexFuture(OvernightIndex overnight_index, Date value_date, Date maturity_date, Quote convexity_adjustment=Quote.__new__(Quote), RateAveraging averaging_method=RateAveraging.Compound)¶
Bases:
InstrumentFuture on a compounded overnight index investment.
Compatible with SOFR futures and Sonia futures available on CME and ICE exchanges.
- Attributes:
error_estimateInstrument.error_estimate: Real
is_expiredInstrument.is_expired: bool
net_present_valueInstrument net present value.
npvShortcut to the net_present_value property.
valuation_datethe date the net present value refers to.
Methods
set_pricing_engine(self, PricingEngine engine)Sets the pricing engine.