HyperliquidFundingRate

Documentation for eth_defi.hyperliquid.api.HyperliquidFundingRate Python class.

class HyperliquidFundingRate

Bases: object

A single funding-rate observation from the fundingHistory endpoint.

Hyperliquid pays funding every hour at 1/8 of the computed 8-hour funding rate, so one of these dataclasses represents the funding charge/payment for a single 1-hour window. Authoritative reference for the cadence and formula: https://hyperliquid.gitbook.io/hyperliquid-docs/trading/funding

Funding rate and premium are stored as float for direct pandas/numpy compatibility.

Attributes summary

timestamp

coin

funding_rate

premium

Methods summary

__init__(timestamp, coin, funding_rate, premium)

__init__(timestamp, coin, funding_rate, premium)
Parameters
Return type

None