| license: cc-by-4.0 | |
| pretty_name: Perp Data | |
| tags: | |
| - finance | |
| - crypto | |
| - defi | |
| - trading | |
| - parquet | |
| - time-series | |
| task_categories: | |
| - tabular-regression | |
| # Perp Data | |
| Free, daily-updated perpetuals market data intended for quant research, backtesting, and market microstructure analysis. | |
| This repository is initialized for **chain-derived perp DEX data**, starting with Hyperliquid. The public dataset must only contain records whose provenance is public chain/archive state, not venue REST API resale. The first production feed will publish Hyperliquid funding, trades, and open interest as partitioned Parquet, under an explicit `hyperliquid_chain/` provider partition. | |
| ## Status | |
| Initialized. Data publication starts after the Hetzner chain-derived `hyperliquid_chain` sink is live. | |
| ## Planned Layout | |
| ```text | |
| hyperliquid_chain/ | |
| funding/date=YYYY-MM-DD/part-0000.parquet | |
| trades/date=YYYY-MM-DD/part-0000.parquet | |
| open_interest/date=YYYY-MM-DD/part-0000.parquet | |
| _schema.json | |
| _manifest.json | |
| ``` | |
| ## Quickstart | |
| ```python | |
| import pandas as pd | |
| repo = "GregM/perp-data" | |
| url = f"https://huggingface.co/datasets/{repo}/resolve/main/hyperliquid_chain/funding/date=YYYY-MM-DD/part-0000.parquet" | |
| funding = pd.read_parquet(url) | |
| print(funding.head()) | |
| ``` | |
| ## Provenance | |
| Eligible public rows use one of these `source_kind` values: | |
| - `on_chain_event` | |
| - `chain_rpc` | |
| - `hypercore_s3` | |
| API-sourced internal research rows are intentionally excluded from this public dataset. | |