HyperliquidCandle
Documentation for eth_defi.hyperliquid.api.HyperliquidCandle Python class.
- class HyperliquidCandle
Bases:
objectA single OHLCV candle from the
candleSnapshotInfo endpoint.Prices and volume are stored as
floatfor direct pandas/numpy compatibility in backtesting notebooks. Callers needing arbitrage-level precision should consume the raw API response instead.Attributes summary
open_timeclose_timecoinintervalopenhighlowclosevolumetradesMethods summary
__init__(open_time, close_time, coin, ...)- __init__(open_time, close_time, coin, interval, open, high, low, close, volume, trades)
- Parameters
open_time (datetime.datetime) –
close_time (datetime.datetime) –
coin (str) –
interval (str) –
open (float) –
high (float) –
low (float) –
close (float) –
volume (float) –
trades (int) –
- Return type
None