Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
timestamp
timestamp[ms]date
2021-05-01 00:01:00
2026-02-28 23:59:00
basis_open
float64
-0.19
0.07
basis_high
float64
-0.12
0.09
basis_low
float64
-0.23
0.04
basis_close
float64
-0.23
0.08
2021-05-01T00:01:00
-0.000063
0.000691
-0.000176
0.000376
2021-05-01T00:02:00
0.000466
0.000669
0
0.000462
2021-05-01T00:03:00
0.000474
0.000711
0.00022
0.00022
2021-05-01T00:04:00
0.000126
0.000677
0.000126
0.000163
2021-05-01T00:05:00
0.000192
0.000589
-0.000287
0.000496
2021-05-01T00:06:00
0.000532
0.000688
0.000217
0.00043
2021-05-01T00:07:00
0.000305
0.001083
0
0.000253
2021-05-01T00:08:00
0.00032
0.000432
0.000031
0.000201
2021-05-01T00:09:00
0.000216
0.000407
0.000138
0.000198
2021-05-01T00:10:00
0
0.0009
0
0.000434
2021-05-01T00:11:00
0.000508
0.000566
0.00023
0.000337
2021-05-01T00:12:00
0.00084
0.00084
0.000324
0.000453
2021-05-01T00:13:00
0.000584
0.000841
0.000052
0.000052
2021-05-01T00:14:00
0.000596
0.000996
0.000297
0.000439
2021-05-01T00:15:00
0.000563
0.001536
0.000133
0.001536
2021-05-01T00:16:00
0.001053
0.001219
0.000424
0.000455
2021-05-01T00:17:00
0.000341
0.000884
0.000341
0.000394
2021-05-01T00:18:00
0.000489
0.001044
0.000453
0.000495
2021-05-01T00:19:00
0.000458
0.000764
0.000291
0.000562
2021-05-01T00:20:00
0.00061
0.000656
0
0.000472
2021-05-01T00:21:00
0.000454
0.000609
0.000415
0.000522
2021-05-01T00:22:00
0.000535
0.000633
0.000341
0.000551
2021-05-01T00:23:00
0.000739
0.000806
0.000312
0.000778
2021-05-01T00:24:00
0.00075
0.00075
0.000367
0.000647
2021-05-01T00:25:00
0.000452
0.000662
0.000299
0.000424
2021-05-01T00:26:00
0.000368
0.000863
0.000259
0.000383
2021-05-01T00:27:00
0.000494
0.001057
0.000406
0.000406
2021-05-01T00:28:00
0.000443
0.000599
0.000129
0.000599
2021-05-01T00:29:00
0.000495
0.000729
0.000307
0.000307
2021-05-01T00:30:00
0.000476
0.000658
0.000334
0.000334
2021-05-01T00:31:00
0.000453
0.00063
0.000196
0.000412
2021-05-01T00:32:00
0.000218
0.00071
0.000218
0.000689
2021-05-01T00:33:00
0.000637
0.000662
0.000294
0.000501
2021-05-01T00:34:00
0.000421
0.000702
0.000284
0.000583
2021-05-01T00:35:00
0.000543
0.000665
0.000207
0.00036
2021-05-01T00:36:00
0.000731
0.000731
0.000251
0.000552
2021-05-01T00:37:00
0.000357
0.000713
0.000131
0.000433
2021-05-01T00:38:00
0.000271
0.000625
0.000271
0.000625
2021-05-01T00:39:00
0.000746
0.000746
0.000367
0.000367
2021-05-01T00:40:00
0.00046
0.000496
0.000077
0.000419
2021-05-01T00:41:00
0.0006
0.000774
0.00041
0.000636
2021-05-01T00:42:00
0.000663
0.000692
0.000156
0.00056
2021-05-01T00:43:00
0.000451
0.000615
0.000134
0.00057
2021-05-01T00:44:00
0.000575
0.000673
0.000468
0.000468
2021-05-01T00:45:00
0.000584
0.000649
0.000276
0.000461
2021-05-01T00:46:00
0.000524
0.000865
0.000043
0.000043
2021-05-01T00:47:00
0.000278
0.000635
0.000164
0.00046
2021-05-01T00:48:00
0.000454
0.000662
0.000186
0.000384
2021-05-01T00:49:00
0.00024
0.000476
0.000195
0.000223
2021-05-01T00:50:00
0.000099
0.000434
0.000099
0.000333
2021-05-01T00:51:00
0.00032
0.000369
0.000095
0.000223
2021-05-01T00:52:00
0.000279
0.000689
-0.000135
0.000689
2021-05-01T00:53:00
0.000652
0.000855
0.000078
0.000397
2021-05-01T00:54:00
0.0006
0.0006
0.000042
0.000158
2021-05-01T00:55:00
0.000333
0.000776
0.000328
0.000365
2021-05-01T00:56:00
0.000289
0.000535
0.000189
0.000189
2021-05-01T00:57:00
0.000414
0.000559
0.000212
0.000343
2021-05-01T00:58:00
0.000351
0.000571
0.000321
0.000321
2021-05-01T00:59:00
0.000385
0.000666
0.000239
0.000666
2021-05-01T01:00:00
0.000333
0.000468
0.000235
0.000241
2021-05-01T01:01:00
0.000352
0.000697
0.000176
0.000641
2021-05-01T01:02:00
0.00054
0.000617
0.000435
0.000594
2021-05-01T01:03:00
0.000501
0.000835
0.000295
0.00046
2021-05-01T01:04:00
0.000414
0.000669
0.00025
0.000457
2021-05-01T01:05:00
0.000741
0.000741
0.000252
0.000419
2021-05-01T01:06:00
0.000533
0.000533
0.000293
0.000351
2021-05-01T01:07:00
0.000375
0.000691
0.000184
0.000585
2021-05-01T01:08:00
0.00065
0.00065
0.00025
0.000348
2021-05-01T01:09:00
0.000334
0.000523
-0.000001
0.000402
2021-05-01T01:10:00
0.000306
0.000474
0.000062
0.000474
2021-05-01T01:11:00
0.000301
0.000499
0.000267
0.000392
2021-05-01T01:12:00
0.000358
0.000475
0.000289
0.000394
2021-05-01T01:13:00
0.000514
0.000655
0.000182
0.000408
2021-05-01T01:14:00
0.00051
0.000666
0.000344
0.000666
2021-05-01T01:15:00
0.000497
0.000731
0.000322
0.000501
2021-05-01T01:16:00
0.000493
0.000649
0.000245
0.000348
2021-05-01T01:17:00
0.000525
0.000525
0.000028
0.000374
2021-05-01T01:18:00
0.00032
0.000537
0.000047
0.000364
2021-05-01T01:19:00
0.000439
0.000723
0.000267
0.000337
2021-05-01T01:20:00
0.000265
0.000681
0.000265
0.000339
2021-05-01T01:21:00
0.000357
0.000675
0.000275
0.0004
2021-05-01T01:22:00
0.000346
0.00082
0.000298
0.000427
2021-05-01T01:23:00
0.000439
0.000439
0.000237
0.000315
2021-05-01T01:24:00
0.000253
0.000541
0.000218
0.000304
2021-05-01T01:25:00
0.000483
0.000489
0.000231
0.000394
2021-05-01T01:26:00
0.000472
0.000549
0.00023
0.000549
2021-05-01T01:27:00
0.000764
0.000764
0.000193
0.000313
2021-05-01T01:28:00
0.0003
0.000654
0.0003
0.000437
2021-05-01T01:29:00
0.000435
0.000524
0.000355
0.000355
2021-05-01T01:30:00
0.000303
0.00057
0.000123
0.00036
2021-05-01T01:31:00
0.000305
0.000631
0.000218
0.000349
2021-05-01T01:32:00
0.000339
0.000548
0.000239
0.000362
2021-05-01T01:33:00
0.00072
0.00072
0.000239
0.000384
2021-05-01T01:34:00
0.000429
0.000492
0.000292
0.000428
2021-05-01T01:35:00
0.000403
0.000535
0.000306
0.000306
2021-05-01T01:36:00
0.000456
0.00076
0.000013
0.00076
2021-05-01T01:37:00
0.000618
0.001157
0.000198
0.000573
2021-05-01T01:38:00
0.000518
0.000646
0
0.000426
2021-05-01T01:39:00
0.000714
0.000714
0.000199
0.000199
2021-05-01T01:40:00
0.000225
0.00068
0.000225
0.000526
End of preview. Expand in Data Studio

ETHUSDT Perpetual Futures-Spot Basis (1 2021 - Mar 2026)

Basis History

Overview

1-minute premium index (futures-spot basis) data for the ETH/USDT perpetual futures contract on Binance, covering May 1, 2021 to February 28, 2026.

  • Rows: 2,531,446
  • Completeness: 99.60%

What is the premium index (basis)?

The premium index measures the instantaneous percentage difference between the perpetual futures price and the spot price:

basis = (futures_price - spot_price) / spot_price
  • Positive basis (contango): Futures trading at a premium to spot -- bullish sentiment, longs willing to pay more
  • Negative basis (backwardation): Futures at a discount -- bearish sentiment, panic selling, or liquidation cascades
  • Large spikes: Indicate sudden shifts in derivatives positioning, often preceding spot price moves

Values are typically small decimals (e.g., 0.001 = 0.1% premium). The basis drives the funding rate: sustained positive basis leads to positive funding, and vice versa.

Columns

Column Type Description
timestamp datetime64[ns] Candle open time (UTC)
basis_open float64 Opening basis as decimal fraction
basis_high float64 Highest basis in the candle
basis_low float64 Lowest basis in the candle
basis_close float64 Closing basis as decimal fraction

Statistics

Metric Value
Mean basis -0.000220 (-0.0220%)
Median basis -0.000368 (-0.0368%)
Min basis -0.231391 (-23.1391%)
Max basis 0.081707 (8.1707%)
Std 0.000610

Data Quality

The premium index is computed by Binance internally and has small gaps that cannot be backfilled from external sources. These are exchange-wide infrastructure events shared across all perpetual pairs.

Period Duration Type
2021-07-01 (full day) 24h (1,441 bars) Premium index data gap
2021-07-24 — 2021-07-27 96h (5,760 bars) Premium index data gap
2022-07-12 12:56-14:32 ~1.5h (47 bars) Scattered missing bars
2022-10-02 (full day) 24h (1,440 bars) Premium index data gap
2023-04-09 (full day) 24h (1,440 bars) Premium index data gap
2023-11-10 03:37-04:09 ~30min (14 bars) Scattered missing bars
2024-08-12 10:01-10:04 3min (2 bars) Minor gap
Month boundaries 1 bar each (x9) Data packaging artifact

Total missing bars: 10,153 out of ~2,541,599

Recommended handling: Forward-fill missing bars at training time. The basis changes slowly relative to 1-minute resolution, so forward-filling introduces negligible error.

Joining with spot OHLCV

This dataset complements the spot OHLCV dataset Torch-Trade/ethusdt_spot_1m_05_2021_to_03_2026. To join at training time:

from datasets import load_dataset
import pandas as pd

# Load both datasets
spot = load_dataset("Torch-Trade/ethusdt_spot_1m_05_2021_to_03_2026")["train"].to_pandas()
spot["timestamp"] = pd.to_datetime(spot["timestamp"])

basis = load_dataset("Torch-Trade/ethusdt_perp_basis_1m_05_2021_to_02_2026")["train"].to_pandas()
basis["timestamp"] = pd.to_datetime(basis["timestamp"])

# Merge on timestamp, forward-fill gaps
df = spot.merge(basis, on="timestamp", how="left")
df[["basis_open", "basis_high", "basis_low", "basis_close"]] = df[["basis_open", "basis_high", "basis_low", "basis_close"]].ffill()

Usage

from datasets import load_dataset
import pandas as pd

ds = load_dataset("Torch-Trade/ethusdt_perp_basis_1m_05_2021_to_02_2026")
df = ds["train"].to_pandas()
df["timestamp"] = pd.to_datetime(df["timestamp"])

print(df.shape)  # (2531446, 5)
print(df.head())

License

MIT -- data sourced from Binance Data Collection.

Downloads last month
29