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[Union[date, str], List[Union[date, str]]]A specific date to get data for. Multiple items allowed for provider(s): cboe, yfinance.NoneTrue

Data

NameTypeDescription
dateUnion[date, str]The date of the data.
expirationstrFutures expiration month.
pricefloatThe price of the futures contract.