Skip to main content

Equity Historical


Implementation details

Class names

Model nameParameters classData class
EquityHistoricalEquityHistoricalQueryParamsEquityHistoricalData

Import Statement

from openbb_core.provider.standard_models.equity_historical import (
EquityHistoricalData,
EquityHistoricalQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): alpha_vantage, cboe, fmp, polygon, tiingo, tmx, tradier, yfinance.False
intervalstrTime interval of the data to return.1dTrue
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue
providerLiteral['alpha_vantage', 'cboe', 'fmp', 'intrinio', 'polygon', 'tiingo', 'tmx', 'tradier', 'yfinance']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'alpha_vantage' if there is no default.alpha_vantageTrue

Data

NameTypeDescription
dateUnion[date, datetime]The date of the data.
openfloatThe open price.
highfloatThe high price.
lowfloatThe low price.
closefloatThe close price.
volumeUnion[float, int]The trading volume.
vwapfloatVolume Weighted Average Price over the period.