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.False
intervalstrTime interval of the data to return."1d"True
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
chartboolWhether to create a chart or not, by default False."False"True
providerLiteral['alpha_vantage', 'cboe', 'fmp', 'intrinio', 'polygon', 'tiingo', '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_vantage"True

Data​

NameTypeDescription
datedatetimeThe 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.