ironflow commited on
Commit
a4faf91
·
verified ·
1 Parent(s): d09b862

Update hyperliquid-sample-day

Browse files
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ pretty_name: Hyperliquid Sample Day
4
+ task_categories:
5
+ - time-series-forecasting
6
+ tags:
7
+ - hyperliquid
8
+ - crypto
9
+ - perpetual-futures
10
+ - defi
11
+ - trades
12
+ - liquidations
13
+ - funding-rates
14
+ - open-interest
15
+ - ohlcv
16
+ - prediction-markets
17
+ - finance
18
+ - trading
19
+ size_categories:
20
+ - 1M<n<10M
21
+ configs:
22
+ - config_name: trades
23
+ default: true
24
+ data_files:
25
+ - split: train
26
+ path: "data/trades/*.parquet"
27
+ - config_name: liquidations
28
+ data_files:
29
+ - split: train
30
+ path: "data/liquidations/*.parquet"
31
+ - config_name: liquidation_fills
32
+ data_files:
33
+ - split: train
34
+ path: "data/liquidation_fills/*.parquet"
35
+ - config_name: funding
36
+ data_files:
37
+ - split: train
38
+ path: "data/funding/*.parquet"
39
+ - config_name: candles_1h
40
+ data_files:
41
+ - split: train
42
+ path: "data/candles_1h/*.parquet"
43
+ - config_name: open_interest
44
+ data_files:
45
+ - split: train
46
+ path: "data/open_interest/*.parquet"
47
+ - config_name: outcomes
48
+ data_files:
49
+ - split: train
50
+ path: "data/outcomes/*.parquet"
51
+ ---
52
+
53
+ # Hyperliquid Sample Day
54
+
55
+ One full UTC day of Hyperliquid, 27 August 2026, in every dataset [Ironflow](https://ironflow.sh/datasets?utm_source=huggingface&utm_medium=sample_day) 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.
56
+
57
+ | Config | File | Rows | Markets | Size | Full set |
58
+ |---|---|---|---|---|---|
59
+ | `trades` (default) | `data/trades/2026-08-27.parquet` | 6,189,972 | 467 | 131.2 MB | [hyperliquid-trades](https://huggingface.co/datasets/ironflow/hyperliquid-trades) |
60
+ | `liquidations` | `data/liquidations/2026-08-27.parquet` | 6,368 | 152 | 0.1 MB | [hyperliquid-liquidations](https://huggingface.co/datasets/ironflow/hyperliquid-liquidations) (`events`) |
61
+ | `liquidation_fills` | `data/liquidation_fills/2026-08-27.parquet` | 12,425 | 152 | 0.2 MB | [hyperliquid-liquidations](https://huggingface.co/datasets/ironflow/hyperliquid-liquidations) (`fills`) |
62
+ | `funding` | `data/funding/2026-08-27.parquet` | 10,807 | 451 | 0.1 MB | [hyperliquid-funding](https://huggingface.co/datasets/ironflow/hyperliquid-funding) |
63
+ | `candles_1h` | `data/candles_1h/2026-08-27.parquet` | 8,842 | 467 | 0.4 MB | [hyperliquid-candles-1h](https://huggingface.co/datasets/ironflow/hyperliquid-candles-1h) |
64
+ | `open_interest` | `data/open_interest/2026-08-27.parquet` | 12,074 | 504 | 0.2 MB | [hyperliquid-open-interest](https://huggingface.co/datasets/ironflow/hyperliquid-open-interest) |
65
+ | `outcomes` | `data/outcomes/2026-08-27.parquet` | 24,598 | 26 | 0.7 MB | [hyperliquid-outcomes](https://huggingface.co/datasets/ironflow/hyperliquid-outcomes) |
66
+
67
+ ## Use
68
+
69
+ ```python
70
+ import pandas as pd
71
+
72
+ base = "hf://datasets/ironflow/hyperliquid-sample-day/data"
73
+ trades = pd.read_parquet(f"{base}/trades/2026-08-27.parquet")
74
+ liqs = pd.read_parquet(f"{base}/liquidations/2026-08-27.parquet")
75
+
76
+ # taker flow and liquidations per 5 minutes on BTC
77
+ btc = trades[trades.market == "BTC-PERP"].set_index("timestamp")
78
+ flow = btc.notional.where(btc.taker_side == "buy", -btc.notional).resample("5min").sum()
79
+ liq = liqs[liqs.market == "BTC-PERP"].set_index("timestamp").notional_usd.resample("5min").sum()
80
+ print(pd.DataFrame({"taker_flow_usd": flow, "liquidated_usd": liq}).sort_values("liquidated_usd").tail())
81
+ ```
82
+
83
+ Or every file at once: `huggingface-cli download ironflow/hyperliquid-sample-day --repo-type dataset --local-dir sample-day`.
84
+
85
+ ## Columns
86
+
87
+ 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:
88
+
89
+ - `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).
90
+ - `liquidations`: `timestamp`, `market`, `issuer`, `position_side`, `size`, `notional_usd`, `avg_price`, `fills`, `block`. One row per liquidated position.
91
+ - `liquidation_fills`: `timestamp`, `market`, `issuer`, `base_market`, `side`, `price`, `size`, `notional_usd`, `block`. One row per liquidation fill.
92
+ - `funding`: `timestamp`, `market`, `coin`, `dex`, `funding_rate`, `premium`. One row per market and hourly payment.
93
+ - `candles_1h`: `timestamp`, `market`, `coin`, `dex`, `market_class`, `open`, `high`, `low`, `close`, `volume`, `trades`.
94
+ - `open_interest`: `timestamp`, `market`, `coin`, `dex`, `mark_price`, `oracle_price`, `open_interest`, `open_interest_usd`. The last reading of each hour.
95
+ - `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.
96
+
97
+ Times are UTC.
98
+
99
+ ## Recent data, wallets and live streams
100
+
101
+ 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](https://ironflow.sh/data-api?utm_source=huggingface&utm_medium=sample_day): 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](https://ironflow.sh/key?utm_source=huggingface&utm_medium=sample_day) gives 14 days.
102
+
103
+ ## Source and license
104
+
105
+ 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.
106
+
107
+ [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/): non-commercial use, credit "Ironflow (ironflow.sh)". For commercial use, see the API's Builder plan.
data/candles_1h/2026-08-27.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b19ebc287d43b75e7483864f97c52ae45a3fa85125477a7707b4dcc52d129cda
3
+ size 369374
data/funding/2026-08-27.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:527a18470a9228eeae6b091d3145ae90e30ef4eefeff36224c4d0e70bf795b45
3
+ size 118355
data/liquidation_fills/2026-08-27.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d55c76b597b08175c88a1af1309423b459c802684f17302d6121c38b027c1345
3
+ size 228576
data/liquidations/2026-08-27.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af2618358a53bce4e6fdf7a1cf478b49861ac0bbf29cfa6b65cfb8b322f2bcdf
3
+ size 136681
data/open_interest/2026-08-27.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:924572e5c48c3fca7f46b0df029ca9c54678f58c786bae78ae823b65b0b69754
3
+ size 234435
data/outcomes/2026-08-27.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:977624e74b17faaca9da766500a74e8422f8cd015e2e62836d07e9ca1c66d1f2
3
+ size 656436
data/trades/2026-08-27.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4c4ea87f956e52ba0ff0665797d81fc708738ab07b834e1340ba59d87af533e
3
+ size 131238360