humblefool06 commited on
Commit
9f491eb
·
verified ·
1 Parent(s): 8e042c8

BTC-USDT 4h candles: full history

Browse files
Files changed (2) hide show
  1. README.md +92 -0
  2. data/btc_usdt_4h.jsonl +0 -0
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - finance
7
+ - cryptocurrency
8
+ - ohlcv
9
+ - candles
10
+ - trading
11
+ - time-series
12
+ - bitcoin
13
+ - btc
14
+ pretty_name: BTC-USDT 4-Hour Candles (2017-08-17 to 2026-08-13)
15
+ size_categories:
16
+ - 10K<n<100K
17
+ task_categories:
18
+ - time-series-forecasting
19
+ dataset_info:
20
+ features:
21
+ - name: timestamp
22
+ dtype: int64
23
+ - name: open
24
+ dtype: float64
25
+ - name: high
26
+ dtype: float64
27
+ - name: low
28
+ dtype: float64
29
+ - name: close
30
+ dtype: float64
31
+ - name: volume
32
+ dtype: float64
33
+ splits:
34
+ - name: train
35
+ num_examples: 19686
36
+ download_size: 2176974
37
+ configs:
38
+ - config_name: default
39
+ data_files:
40
+ - split: train
41
+ path: data/*.jsonl
42
+ ---
43
+
44
+ # BTC-USDT 4-Hour Candles
45
+
46
+ Full-history 4-Hour-resolution OHLCV candlestick data for the **BTC-USDT**
47
+ trading pair (Bitcoin), from **2017-08-17T04:00:00Z** to **2026-08-13T20:00:00Z** (19,686 candles, UTC).
48
+ Covers the pair's entire listed history from first traded candle to the most
49
+ recent completed daily session.
50
+
51
+ ## Columns
52
+
53
+ | Column | Type | Description |
54
+ |---|---|---|
55
+ | `timestamp` | int64 | Candle open time, Unix epoch **milliseconds** (UTC) |
56
+ | `open` | float | Open price |
57
+ | `high` | float | High price |
58
+ | `low` | float | Low price |
59
+ | `close` | float | Close price |
60
+ | `volume` | float | Base asset volume (BTC) |
61
+
62
+ Each row is one 4h candle. Prices are quoted in USDT.
63
+
64
+ ## Data Quality
65
+
66
+ - Timestamps normalized to millisecond precision (UTC), strictly increasing, deduplicated.
67
+ - OHLC sanity-checked: `high >= max(open, close, low)` and `low <= min(open, close, high)`.
68
+ - Missing candles correspond to periods with no traded activity (no candle was
69
+ produced for those intervals).
70
+
71
+ ## Load
72
+
73
+ ```python
74
+ from datasets import load_dataset
75
+
76
+ ds = load_dataset("humblefool06/btc-usdt-4h-candles", split="train")
77
+ ```
78
+
79
+ Or directly from the JSONL file:
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+
84
+ ds = load_dataset("json", data_files="data/btc_usdt_4h.jsonl", split="train")
85
+ ```
86
+
87
+ ## License
88
+
89
+ Released under the Creative Commons Attribution 4.0 International license
90
+ (**CC-BY-4.0**). You are free to share and adapt this data for any purpose,
91
+ including commercially, provided you give appropriate credit. Provided as-is,
92
+ without warranty of any kind.
data/btc_usdt_4h.jsonl ADDED
The diff for this file is too large to render. See raw diff