Deribit Futures Curve
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
DeribitFuturesCurve | DeribitFuturesCurveQueryParams | DeribitFuturesCurveData |
Import Statement
from openbb_core.provider.standard_models. import (
DeribitFuturesCurveData,
DeribitFuturesCurveQueryParams,
)
Parameters
- standard
- deribit
symbol: str
Symbol to get data for.
date: date | str | None | str
A specific date to get data for.
symbol: str | None
Default: BTC
Symbol to get data for. The underlying root, as it appears in the instrument name.
date: date | str | None | str
A specific date to get data for.
hours_ago: str | None | list[str | None]
Compare the current curve against how it stood this many hours ago. Multiple items allowed.
Data
- standard
- deribit
date: date | None | str
The date of the data.
expiration: str
Futures expiration month.
price: float | None
The price of the futures contract.
date: date | None | str
The date of the data.
expiration: str
Futures expiration month.
price: float | None
The price of the futures contract, taken from the mark.
symbol: str | None
The name of the contract.
last_price: float | None
The price the contract last traded at, which on a thin contract can be a long way from the mark the curve is built on.
hours_ago: int | None
How many hours back the price was read, when the query asked for one.