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

symbol: str
Symbol to get data for.

date: Union[date | str, list[date | str]]
A specific date to get data for. Multiple items allowed for provider(s): cboe, yfinance.

Data

date: date | str
The date of the data.

expiration: str
Futures expiration month.

price: float
The price of the futures contract.