funding_history
Get the hourly funding a Deribit perpetual has paid.
Examples
from openbb import obb
# The funding the BTC perpetual has paid over the last week.
obb.deribit.rates.funding_history(symbol='BTC-PERPETUAL', provider='deribit')
Parameters
- standard
- deribit
symbol: str | None | list[str | None]
Default: BTC-PERPETUAL
One or more perpetual instrument names. A perpetual can also be given by its shortened root, such as 'SOLUSDC'. Multiple items allowed.
start_date: Any | None | str
Return rates from this date onwards.
end_date: Any | None | str
Return rates up to this date.
Returns
results: DeribitFundingRateHistory
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
date: datetime | str
The hour the rate applied to.
symbol: str
The name of the instrument.
interest_1h: float | None
The funding rate over the hour.
interest_8h: float | None
The funding rate over the trailing eight hours.
index_price: float | None
The level of the index at the end of the hour.
prev_index_price: float | None
The level of the index at the start of the hour.