Skip to main content
Version: v5

historical

Historical equity and ETF prices from Cboe, daily or one-minute.

Examples​

from openbb import obb
# Daily historical prices. ETFs use this endpoint as well.
obb.cboe.equity.historical(symbol='AAPL', provider='cboe')
# One-minute bars for the most recent trading day.
obb.cboe.equity.historical(symbol='AAPL', interval='1m', provider='cboe')

Parameters​

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): cboe.

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: CboeEquityHistorical

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​

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: float | int | None
The trading volume.

vwap: float | None
Volume Weighted Average Price over the period.