Dataset Viewer
The dataset viewer should be available soon. Please retry later.
Binance Spot 1m OHLCV (BTCUSDT, BNBUSDT)
Official Binance spot 1-minute candles for backtesting.
Source
- Historical months: https://data.binance.vision
- Recent days: Binance REST
/api/v3/klines
This is public exchange market data, not investment advice.
Files
| File | What it is |
|---|---|
spot/manifest.json |
Coverage and schema |
spot/BTCUSDT_1m_history.parquet |
Frozen history through last complete month |
spot/BNBUSDT_1m_history.parquet |
Frozen history through last complete month |
spot/BTCUSDT_1m_incremental.parquet |
Current month through latest closed day |
spot/BNBUSDT_1m_incremental.parquet |
Current month through latest closed day |
Schema
| Column | Type | Notes |
|---|---|---|
| symbol | string | BTCUSDT or BNBUSDT |
| open_time | timestamp[ms, UTC] | Bar open |
| open, high, low, close | float64 | USDT |
| volume | float64 | Base asset |
| close_time | timestamp[ms, UTC] | Bar close |
| quote_volume | float64 | USDT volume |
| trades | int64 | Number of trades |
| taker_buy_base | float64 | |
| taker_buy_quote | float64 |
Primary key: (symbol, open_time).
Load in Python
import pandas as pd
BASE = "https://huggingface.co/datasets/MirrorMirage/binance-spot-ohlcv/resolve/main/spot"
btc = pd.concat([
pd.read_parquet(f"{BASE}/BTCUSDT_1m_history.parquet"),
pd.read_parquet(f"{BASE}/BTCUSDT_1m_incremental.parquet"),
]).drop_duplicates("open_time").sort_values("open_time")
- Downloads last month
- 847