Skip to main content
Version: v5

historical

Get candles for any listed Deribit instrument.

Examples​

from openbb import obb
# Daily candles for the BTC perpetual.
obb.deribit.futures.historical(symbol='BTC-PERPETUAL', provider='deribit')
# Hourly candles over a named span.
obb.deribit.futures.historical(symbol='BTC-PERPETUAL', interval='1h', start_date='2026-09-01', end_date='2026-09-15', provider='deribit')

Parameters​

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

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.

expiration: str | None
Future expiry date with format YYYY-MM


Returns​

results: DeribitFuturesHistorical

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 | None
The open price.

high: float | None
The high price.

low: float | None
The low price.

close: float
The close price.

volume: float | None
The trading volume.