Skip to main content

Futures Curve


Implementation details​

Class names​

Model nameParameters classData class
FuturesCurveFuturesCurveQueryParamsFuturesCurveData

Import Statement​

from openbb_core.provider.standard_models.futures_curve import (
FuturesCurveData,
FuturesCurveQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.False
dateUnion[str, date]A specific date to get data for.NoneTrue
providerLiteral['cboe', 'yfinance']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default.cboeTrue

Data​

NameTypeDescription
expirationstrFutures expiration month.
pricefloatThe close price.