historical
Daily OHLCV history for ETFs and mutual funds.
Examples
from openbb import obb
# Daily fund prices.
obb.nasdaq.etf.historical(symbol='QQQ', provider='nasdaq')
Parameters
- standard
- nasdaq
symbol: str | list[str]
Symbol to get data for. (ETF) 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. (ETF) 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.
Returns
results: NasdaqEtfHistorical
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
date: date | 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: int | None
The trading volume.
date: date | 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: int | None
The trading volume.
symbol: str | None
The ticker symbol, when more than one is requested.