HyperliquidCandle

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

class HyperliquidCandle

Bases: object

A single OHLCV candle from the candleSnapshot Info endpoint.

Prices and volume are stored as float for direct pandas/numpy compatibility in backtesting notebooks. Callers needing arbitrage-level precision should consume the raw API response instead.

Attributes summary

open_time

close_time

coin

interval

open

high

low

close

volume

trades

Methods summary

__init__(open_time, close_time, coin, ...)

__init__(open_time, close_time, coin, interval, open, high, low, close, volume, trades)
Parameters
Return type

None