Skip to main content

Futures Historical


Implementation details

Class names

Model nameParameters classData class
FuturesHistoricalFuturesHistoricalQueryParamsFuturesHistoricalData

Import Statement

from openbb_core.provider.standard_models.futures_historical import (
FuturesHistoricalData,
FuturesHistoricalQueryParams,
)

Parameters

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): deribit, yfinance.

start_date: date | str
Start date of the data, in YYYY-MM-DD format.

end_date: date | str
End date of the data, in YYYY-MM-DD format.

expiration: str
Future expiry date with format YYYY-MM

Data

date: Union[datetime, str]
The date of the data.

open: float
The open price.

high: float
The high price.

low: float
The low price.

close: float
The close price.

volume: float
The trading volume.