ironflow's picture
Update hyperliquid-sample-day
a4faf91 verified
|
Raw History Blame Contribute Delete
5.96 kB
metadata
license: cc-by-nc-4.0
pretty_name: Hyperliquid Sample Day
task_categories:
  - time-series-forecasting
tags:
  - hyperliquid
  - crypto
  - perpetual-futures
  - defi
  - trades
  - liquidations
  - funding-rates
  - open-interest
  - ohlcv
  - prediction-markets
  - finance
  - trading
size_categories:
  - 1M<n<10M
configs:
  - config_name: trades
    default: true
    data_files:
      - split: train
        path: data/trades/*.parquet
  - config_name: liquidations
    data_files:
      - split: train
        path: data/liquidations/*.parquet
  - config_name: liquidation_fills
    data_files:
      - split: train
        path: data/liquidation_fills/*.parquet
  - config_name: funding
    data_files:
      - split: train
        path: data/funding/*.parquet
  - config_name: candles_1h
    data_files:
      - split: train
        path: data/candles_1h/*.parquet
  - config_name: open_interest
    data_files:
      - split: train
        path: data/open_interest/*.parquet
  - config_name: outcomes
    data_files:
      - split: train
        path: data/outcomes/*.parquet

Hyperliquid Sample Day

One full UTC day of Hyperliquid, 27 August 2026, in every dataset Ironflow publishes: every trade, every liquidation, every funding payment, hourly candles, hourly open interest with mark and oracle prices, and every HIP-4 outcome fill. Seven Parquet files, 133 MB, the same columns as the full sets, so code written against this day runs on the full history unchanged.

Config File Rows Markets Size Full set
trades (default) data/trades/2026-08-27.parquet 6,189,972 467 131.2 MB hyperliquid-trades
liquidations data/liquidations/2026-08-27.parquet 6,368 152 0.1 MB hyperliquid-liquidations (events)
liquidation_fills data/liquidation_fills/2026-08-27.parquet 12,425 152 0.2 MB hyperliquid-liquidations (fills)
funding data/funding/2026-08-27.parquet 10,807 451 0.1 MB hyperliquid-funding
candles_1h data/candles_1h/2026-08-27.parquet 8,842 467 0.4 MB hyperliquid-candles-1h
open_interest data/open_interest/2026-08-27.parquet 12,074 504 0.2 MB hyperliquid-open-interest
outcomes data/outcomes/2026-08-27.parquet 24,598 26 0.7 MB hyperliquid-outcomes

Use

import pandas as pd

base = "hf://datasets/ironflow/hyperliquid-sample-day/data"
trades = pd.read_parquet(f"{base}/trades/2026-08-27.parquet")
liqs = pd.read_parquet(f"{base}/liquidations/2026-08-27.parquet")

# taker flow and liquidations per 5 minutes on BTC
btc = trades[trades.market == "BTC-PERP"].set_index("timestamp")
flow = btc.notional.where(btc.taker_side == "buy", -btc.notional).resample("5min").sum()
liq = liqs[liqs.market == "BTC-PERP"].set_index("timestamp").notional_usd.resample("5min").sum()
print(pd.DataFrame({"taker_flow_usd": flow, "liquidated_usd": liq}).sort_values("liquidated_usd").tail())

Or every file at once: huggingface-cli download ironflow/hyperliquid-sample-day --repo-type dataset --local-dir sample-day.

Columns

Each file has the columns of its full set, without wallet addresses and transaction hashes. The full cards describe every column and the checks behind it:

  • trades: timestamp, market, coin, dex, market_class, price, size, notional, taker_side, liquidation, block, tid. One row per trade (the buy and the sell fill joined).
  • liquidations: timestamp, market, issuer, position_side, size, notional_usd, avg_price, fills, block. One row per liquidated position.
  • liquidation_fills: timestamp, market, issuer, base_market, side, price, size, notional_usd, block. One row per liquidation fill.
  • funding: timestamp, market, coin, dex, funding_rate, premium. One row per market and hourly payment.
  • candles_1h: timestamp, market, coin, dex, market_class, open, high, low, close, volume, trades.
  • open_interest: timestamp, market, coin, dex, mark_price, oracle_price, open_interest, open_interest_usd. The last reading of each hour.
  • outcomes: timestamp, block, market_id, coin, market, event, outcome, side, dir, price, size, notional_usd, fee, fee_token, crossed, tid, oid. One row per HIP-4 outcome fill.

Times are UTC.

Recent data, wallets and live streams

This day is 90 days old, as every free file is. The same data up to the latest block, with the wallet of every fill and liquidation, is on Ironflow's API: REST, live streams of trades and liquidations, the liquidation map, SQL over every fill since May 2025 and Parquet export. No key is needed for the last 24 hours; a free key gives 14 days.

Source and license

Built from the published Ironflow sets on Hugging Face (fills from Ironflow's own Hyperliquid nodes, Hyperliquid's archive and its API) and, for trades, the same export the daily trades set uses. The day is replaced from time to time with a newer one, always 90 days old.

CC BY-NC 4.0: non-commercial use, credit "Ironflow (ironflow.sh)". For commercial use, see the API's Builder plan.