historical
Daily OHLCV history for Nasdaq-calculated indexes.
Examples
from openbb import obb
# Daily index levels.
obb.nasdaq.index.historical(symbol='COMP', provider='nasdaq')
Parameters
- standard
- nasdaq
symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): nasdaq.
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.
symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): nasdaq.
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.
interval: str | None
Default: 1d
The data interval. One-minute data covers the current session only and ignores the date range.
Choices
- 1m
- 1d
Returns
results: NasdaqIndexHistorical
Serializable results.
provider: str | None
Provider name.
warnings: Optional[list[Warning_]]
List of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- nasdaq
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: float | int | None
The trading volume.
symbol: str | None
The ticker symbol, when more than one is requested.
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: float | int | None
The trading volume.