--- title: historical description: Learn how to access historical market price data for ETFs with the OBB.etf.historical() method. This method allows you to retrieve data such as the opening, high, low, and closing prices, as well as the trading volume and adjusted closing price for a specific ETF symbol during a given time period. keywords: - ETF Historical Market Price - ETF historical data - ETF symbol - start date - end date - provider - query results - chart object - metadata - data - open price - high price - low price - close price - volume - adjusted close price --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; ETF Historical Market Price. ```python wordwrap obb.etf.historical(symbol: Union[str, List[str]], start_date: Union[date, str] = None, end_date: Union[date, str] = None, provider: Literal[str] = yfinance) ``` --- ## Parameters | Name | Type | Description | Default | Optional | | ---- | ---- | ----------- | ------- | -------- | | symbol | Union[str, List[str]] | Symbol to get data for. (ETF) | | False | | start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True | | end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True | | provider | Literal['yfinance'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'yfinance' if there is no default. | yfinance | True | --- ## Returns ```python wordwrap OBBject results : List[EtfHistorical] Serializable results. provider : Optional[Literal['yfinance']] Provider name. warnings : Optional[List[Warning_]] List of warnings. chart : Optional[Chart] Chart object. metadata: Optional[Metadata] Metadata info about the command execution. ``` --- ## Data | Name | Type | Description | | ---- | ---- | ----------- | | date | date | 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 | The trading volume. | | Name | Type | Description | | ---- | ---- | ----------- | | date | date | 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 | The trading volume. | | adj_close | float | The adjusted closing price of the ETF. |