price
Get the current level of a Deribit index.
Examples
from openbb import obb
# The current level of the BTC index.
obb.deribit.index.price(index_name='btc_usd', provider='deribit')
# Multiple indexes are comma-separated.
obb.deribit.index.price(index_name='btc_usd,eth_usd', provider='deribit')
Parameters
- standard
- deribit
index_name: str | None | list[str | None]
Default: btc_usd
One or more index names, such as 'btc_usd'. Multiple items allowed.
Returns
results: DeribitIndexPrice
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
- deribit
index_name: str
The name of the index.
index_price: float | None
The current level of the index.
estimated_delivery_price: float | None
What instruments on the index would deliver at right now.