Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,27 +1,84 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
dtype: float64
|
| 16 |
-
splits:
|
| 17 |
-
- name: train
|
| 18 |
-
num_bytes: 111421440
|
| 19 |
-
num_examples: 2321280
|
| 20 |
-
download_size: 43960471
|
| 21 |
-
dataset_size: 111421440
|
| 22 |
-
configs:
|
| 23 |
-
- config_name: default
|
| 24 |
-
data_files:
|
| 25 |
-
- split: train
|
| 26 |
-
path: data/train-*
|
| 27 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- time-series-forecasting
|
| 5 |
+
- reinforcement-learning
|
| 6 |
+
tags:
|
| 7 |
+
- finance
|
| 8 |
+
- cryptocurrency
|
| 9 |
+
- bnb
|
| 10 |
+
- trading
|
| 11 |
+
- ohlcv
|
| 12 |
+
- binance
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1M<n<10M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# BNBUSDT Spot 1-Minute OHLCV (Oct 2021 - Mar 2026)
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+
## Overview
|
| 22 |
+
|
| 23 |
+
1-minute OHLCV candlestick data for the **BNB/USDT spot** pair on Binance, covering **October 1, 2021** to **February 28, 2026**.
|
| 24 |
+
|
| 25 |
+
- **Rows**: 2,321,280
|
| 26 |
+
- **Completeness**: 100.00%
|
| 27 |
+
|
| 28 |
+
## Sources
|
| 29 |
+
|
| 30 |
+
| Period | Source | Notes |
|
| 31 |
+
|--------|--------|-------|
|
| 32 |
+
| Full dataset | [Binance Data Collection](https://data.binance.vision/) | Monthly kline ZIPs |
|
| 33 |
+
| 2023-03-24 12:40-13:59 | [Bybit API](https://bybit-exchange.github.io/docs/v5/market/kline) | 80 bars filled from Bybit BNBUSDT spot (Binance maintenance) |
|
| 34 |
+
|
| 35 |
+
## Columns
|
| 36 |
+
|
| 37 |
+
| Column | Type | Description |
|
| 38 |
+
|--------|------|-------------|
|
| 39 |
+
| `timestamp` | `datetime64[ns]` | Candle open time (UTC) |
|
| 40 |
+
| `open` | `float64` | Opening price (USDT) |
|
| 41 |
+
| `high` | `float64` | Highest price in the candle |
|
| 42 |
+
| `low` | `float64` | Lowest price in the candle |
|
| 43 |
+
| `close` | `float64` | Closing price (USDT) |
|
| 44 |
+
| `volume` | `float64` | Trading volume (BNB) |
|
| 45 |
+
|
| 46 |
+
## Statistics
|
| 47 |
+
|
| 48 |
+
| Metric | Value |
|
| 49 |
+
|--------|-------|
|
| 50 |
+
| Start price | $388.10 |
|
| 51 |
+
| End price | $617.14 |
|
| 52 |
+
| Min price | $184.20 |
|
| 53 |
+
| Max price | $1,373.92 |
|
| 54 |
+
| Return | +59.0% |
|
| 55 |
+
|
| 56 |
+
## Data Quality
|
| 57 |
+
|
| 58 |
+
**No gaps** -- the dataset is 100% complete with no missing minutes.
|
| 59 |
+
|
| 60 |
+
### Why start at October 2021?
|
| 61 |
+
|
| 62 |
+
Binance BNBUSDT 1-minute data is available from November 2017, but the earlier period (2017-2021) contains 32 maintenance gaps totaling 8,061 missing bars. Bybit minute-level data for BNBUSDT only starts from April 2022, leaving those earlier gaps unfillable. October 2021 is the earliest month after which all remaining gaps can be backfilled from Bybit, providing a fully contiguous dataset.
|
| 63 |
+
|
| 64 |
+
### Backfilled bars
|
| 65 |
+
|
| 66 |
+
80 bars from one Binance maintenance window (2023-03-24) were sourced from Bybit BNBUSDT spot. Bybit prices closely track Binance but may differ slightly.
|
| 67 |
+
|
| 68 |
+
## Usage
|
| 69 |
+
|
| 70 |
+
```python
|
| 71 |
+
from datasets import load_dataset
|
| 72 |
+
import pandas as pd
|
| 73 |
+
|
| 74 |
+
ds = load_dataset("Torch-Trade/bnbusdt_spot_1m_10_2021_to_03_2026")
|
| 75 |
+
df = ds["train"].to_pandas()
|
| 76 |
+
df["timestamp"] = pd.to_datetime(df["timestamp"])
|
| 77 |
+
|
| 78 |
+
print(df.shape) # (2321280, 6)
|
| 79 |
+
print(df.head())
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
## License
|
| 83 |
+
|
| 84 |
+
MIT -- price data sourced from Binance and Bybit public data repositories.
|