Datasets:
dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags: [ml-intern, crypto, finance, backtesting, binance, time-series]
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# crypto-quant-eval-data
|
| 6 |
+
|
| 7 |
+
[](https://hf.co/chat?mode=ml-intern)
|
| 8 |
+
|
| 9 |
+
Curated market data for the [Avi-L/crypto-quant-eval](https://huggingface.co/Avi-L/crypto-quant-eval) strategy evaluation harness.
|
| 10 |
+
|
| 11 |
+
| File | Rows | Freq | Content |
|
| 12 |
+
|---|---|---|---|
|
| 13 |
+
| `bars_BTCUSDT_1h.parquet` | 59,654 | 1h | BTCUSDT OHLCV + funding_rate_last + funding_tick, 2020-01 → 2026-10 |
|
| 14 |
+
| `bars_BTCUSDT_1d.parquet` | 2,487 | 1d | same, daily |
|
| 15 |
+
| `funding_BTCUSDT.parquet` | 5,295 | 8h | Binance USDT-M perp funding rate |
|
| 16 |
+
| `funding_ETHUSDT.parquet` | 5,295 | 8h | same, ETH |
|
| 17 |
+
| `onchain_btc_daily.parquet` | ~4,800 | 1d | BTC on-chain metrics (active addresses, market cap, fees, issuance, tx count, NVT) |
|
| 18 |
+
| `manifest.json` | — | — | sha256 of every output + source attribution |
|
| 19 |
+
|
| 20 |
+
## Sources
|
| 21 |
+
|
| 22 |
+
- Bars: [`vaquum/binance_btcusdt_1m_klines`](https://huggingface.co/datasets/vaquum/binance_btcusdt_1m_klines), resampled 1m → 1h/1d
|
| 23 |
+
- Funding: [`Torch-Trade/btcusdt_perp_funding_8h_05_2021_to_02_2026`](https://huggingface.co/datasets/Torch-Trade/btcusdt_perp_funding_8h_05_2021_to_02_2026) and ETH twin (MIT)
|
| 24 |
+
- On-chain: [coinmetrics-community](https://github.com/coinmetrics/data) btc.csv (no usable on-chain repo exists on the Hub)
|
| 25 |
+
|
| 26 |
+
**Convention**: timestamps are bar START times (UTC). A bar starting at `t`
|
| 27 |
+
closes at `t+freq`; a signal computed at `t` may only use bars strictly
|
| 28 |
+
before it. The harness enforces this with purge/embargo splits.
|
| 29 |
+
|
| 30 |
+
**Known gaps**: ETH spot bars not included (source is 34.6 GB); funding
|
| 31 |
+
coverage starts 2021-05 (bars start 2020-01, so `funding_rate_last` is
|
| 32 |
+
null before that — harmless for the harness, which forward-fills).
|
| 33 |
+
|
| 34 |
+
Usage:
|
| 35 |
+
```python
|
| 36 |
+
from crypto_eval.data import load_local
|
| 37 |
+
data = load_local("<dir with these files>", "BTCUSDT", "1h")
|
| 38 |
+
data.assert_sane()
|
| 39 |
+
```
|