Skip to main content

Index Historical


Implementation details

Class names

Model nameParameters classData class
IndexHistoricalIndexHistoricalQueryParamsIndexHistoricalData

Import Statement

from openbb_core.provider.standard_models.index_historical import (
IndexHistoricalData,
IndexHistoricalQueryParams,
)

Parameters

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

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

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

Data

symbol: str | None
Symbol representing the entity requested in the data.

date: date | datetime | str
The date of the data.

open: float | None
The open price.

high: float | None
The high price.

low: float | None
The low price.

close: float | None
The close price.

volume: int | float | None
The trading volume.