CharlieYPeng commited on
Commit
20acf72
·
verified ·
1 Parent(s): 9e86860

Upload CryptoGAT dataset files

Browse files
hf_cryptogat_crypto_1d/README.md ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ pretty_name: CryptoGAT Cryptocurrency Daily OHLCV Dataset
4
+ task_categories:
5
+ - time-series-forecasting
6
+ language:
7
+ - en
8
+ size_categories:
9
+ - 10K<n<100K
10
+ tags:
11
+ - cryptocurrency
12
+ - crypto
13
+ - finance
14
+ - quantitative-finance
15
+ - ai-for-finance
16
+ - time-series
17
+ - graph-neural-networks
18
+ - graph-attention-network
19
+ - cross-asset-modeling
20
+ configs:
21
+ - config_name: default
22
+ data_files:
23
+ - split: train
24
+ path: data/raw_ohlcv.csv
25
+ ---
26
+
27
+ # CryptoGAT Cryptocurrency Daily OHLCV Dataset
28
+
29
+ This dataset accompanies the paper **CryptoGAT: Are Time Series Models Effective for Cryptocurrency Forecasting?** by Yu Peng, Matloob Khushi, and Josiah Poon.
30
+
31
+ - Paper: https://arxiv.org/abs/2606.27670
32
+ - Code: https://github.com/FanBroWell/CryptoGAT
33
+
34
+ ## Dataset Summary
35
+
36
+ The repository contains daily OHLCV cryptocurrency market data and the processed tensors used by CryptoGAT.
37
+
38
+ - Raw OHLCV file: `data/raw_ohlcv.csv`
39
+ - Raw rows: 68,000
40
+ - Raw symbols: 68 USDT trading pairs
41
+ - Model assets: 66 cryptocurrencies
42
+ - Common model window: 999 daily observations
43
+ - Excluded from processed model tensors: `USDCUSDT`, `TUSDUSDT`
44
+
45
+ The default Hugging Face dataset loads the long-format raw OHLCV table:
46
+
47
+ ```python
48
+ from datasets import load_dataset
49
+
50
+ dataset = load_dataset("CharlieYPeng/cryptogat-crypto-1d")
51
+ print(dataset["train"][0])
52
+ ```
53
+
54
+ ## Files
55
+
56
+ ```text
57
+ data/raw_ohlcv.csv
58
+ processed/CRYPTO_1D_ALL/eod_data.pkl
59
+ processed/CRYPTO_1D_ALL/price_data.pkl
60
+ processed/CRYPTO_1D_ALL/gt_data.pkl
61
+ processed/CRYPTO_1D_ALL/mask_data.pkl
62
+ processed/CRYPTO_1D_ALL/coin_names.txt
63
+ processed/CRYPTO_1D_ENHANCED/eod_data.pkl
64
+ processed/CRYPTO_1D_ENHANCED/price_data.pkl
65
+ processed/CRYPTO_1D_ENHANCED/gt_data.pkl
66
+ processed/CRYPTO_1D_ENHANCED/mask_data.pkl
67
+ processed/CRYPTO_1D_ENHANCED/coin_names.txt
68
+ metadata/base_feature_names.csv
69
+ metadata/enhanced_feature_names.csv
70
+ metadata/cryptogat_model_assets.csv
71
+ metadata/manifest.json
72
+ ```
73
+
74
+ ## Column Description
75
+
76
+ `data/raw_ohlcv.csv` contains:
77
+
78
+ - `symbol`: trading pair symbol, e.g. `BTCUSDT`
79
+ - `base_asset`: base cryptocurrency ticker, e.g. `BTC`
80
+ - `quote_asset`: quote asset, fixed as `USDT`
81
+ - `date`: daily timestamp
82
+ - `open`, `high`, `low`, `close`, `volume`: OHLCV market fields
83
+ - `included_in_cryptogat`: whether this symbol is included in the processed CryptoGAT tensors
84
+ - `source_file`: source CSV filename in the original GitHub repository
85
+
86
+ ## Processed Tensor Layout
87
+
88
+ The processed files are Python pickle files containing NumPy arrays.
89
+
90
+ ### `CRYPTO_1D_ALL`
91
+
92
+ - `eod_data.pkl`: shape `(66, 999, 5)`, normalized OHLCV-derived features
93
+ - `price_data.pkl`: shape `(66, 999)`, close prices
94
+ - `gt_data.pkl`: shape `(66, 999)`, next-period return labels
95
+ - `mask_data.pkl`: shape `(66, 999)`, valid-observation mask
96
+ - `coin_names.txt`: asset order for axis 0
97
+
98
+ Feature names are listed in `metadata/base_feature_names.csv`.
99
+
100
+ ### `CRYPTO_1D_ENHANCED`
101
+
102
+ - `eod_data.pkl`: shape `(66, 999, 35)`, base features plus technical indicators
103
+ - `price_data.pkl`: shape `(66, 999)`, close prices
104
+ - `gt_data.pkl`: shape `(66, 999)`, next-period return labels
105
+ - `mask_data.pkl`: shape `(66, 999)`, valid-observation mask
106
+ - `coin_names.txt`: asset order for axis 0
107
+
108
+ Feature names are listed in `metadata/enhanced_feature_names.csv`.
109
+
110
+ ## Reproducing CryptoGAT
111
+
112
+ The original training code expects the processed tensors under the GitHub repository's `dataset/` directory. To use this Hugging Face copy for reproduction, download the `processed/` folders and place them as:
113
+
114
+ ```text
115
+ CryptoGAT/dataset/CRYPTO_1D_ALL/
116
+ CryptoGAT/dataset/CRYPTO_1D_ENHANCED/
117
+ ```
118
+
119
+ Then follow the training instructions in the GitHub repository.
120
+
121
+ ## Data Source and License Note
122
+
123
+ The raw market data are cryptocurrency OHLCV records collected from Binance USDT trading pairs and released here for academic research and reproducibility of the CryptoGAT experiments. Users should independently verify that their intended use complies with the terms of the original data source.
124
+
125
+ ## Citation
126
+
127
+ ```bibtex
128
+ @misc{peng2026cryptogat,
129
+ title = {{CryptoGAT}: Are Time Series Models Effective for Cryptocurrency Forecasting?},
130
+ author = {Peng, Yu and Khushi, Matloob and Poon, Josiah},
131
+ year = {2026},
132
+ eprint = {2606.27670},
133
+ archivePrefix = {arXiv},
134
+ primaryClass = {cs.CE},
135
+ doi = {10.48550/arXiv.2606.27670},
136
+ url = {https://arxiv.org/abs/2606.27670}
137
+ }
138
+ ```
hf_cryptogat_crypto_1d/data/raw_ohlcv.csv ADDED
The diff for this file is too large to render. See raw diff
 
hf_cryptogat_crypto_1d/metadata/base_feature_names.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ feature_index,feature_name,dataset
2
+ 0,open_norm,CRYPTO_1D_ALL
3
+ 1,high_norm,CRYPTO_1D_ALL
4
+ 2,low_norm,CRYPTO_1D_ALL
5
+ 3,close_norm,CRYPTO_1D_ALL
6
+ 4,volume_norm,CRYPTO_1D_ALL
hf_cryptogat_crypto_1d/metadata/cryptogat_model_assets.csv ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ axis_0_index,symbol,base_asset
2
+ 0,1INCHUSDT,1INCH
3
+ 1,AAVEUSDT,AAVE
4
+ 2,ADAUSDT,ADA
5
+ 3,ALGOUSDT,ALGO
6
+ 4,APTUSDT,APT
7
+ 5,ARBUSDT,ARB
8
+ 6,ARUSDT,AR
9
+ 7,ATOMUSDT,ATOM
10
+ 8,AVAXUSDT,AVAX
11
+ 9,BATUSDT,BAT
12
+ 10,BCHUSDT,BCH
13
+ 11,BNBUSDT,BNB
14
+ 12,BTCUSDT,BTC
15
+ 13,CAKEUSDT,CAKE
16
+ 14,CFXUSDT,CFX
17
+ 15,CHZUSDT,CHZ
18
+ 16,COMPUSDT,COMP
19
+ 17,CRVUSDT,CRV
20
+ 18,DASHUSDT,DASH
21
+ 19,DCRUSDT,DCR
22
+ 20,DOGEUSDT,DOGE
23
+ 21,DOTUSDT,DOT
24
+ 22,ENSUSDT,ENS
25
+ 23,ETCUSDT,ETC
26
+ 24,ETHUSDT,ETH
27
+ 25,FETUSDT,FET
28
+ 26,FILUSDT,FIL
29
+ 27,GALAUSDT,GALA
30
+ 28,GLMUSDT,GLM
31
+ 29,GNOUSDT,GNO
32
+ 30,GRTUSDT,GRT
33
+ 31,HBARUSDT,HBAR
34
+ 32,ICPUSDT,ICP
35
+ 33,IMXUSDT,IMX
36
+ 34,INJUSDT,INJ
37
+ 35,IOTAUSDT,IOTA
38
+ 36,JASMYUSDT,JASMY
39
+ 37,JSTUSDT,JST
40
+ 38,LDOUSDT,LDO
41
+ 39,LINKUSDT,LINK
42
+ 40,LTCUSDT,LTC
43
+ 41,LUNCUSDT,LUNC
44
+ 42,MANAUSDT,MANA
45
+ 43,NEARUSDT,NEAR
46
+ 44,NEOUSDT,NEO
47
+ 45,NEXOUSDT,NEXO
48
+ 46,OPUSDT,OP
49
+ 47,PAXGUSDT,PAXG
50
+ 48,QNTUSDT,QNT
51
+ 49,RAYUSDT,RAY
52
+ 50,RUNEUSDT,RUNE
53
+ 51,SANDUSDT,SAND
54
+ 52,SHIBUSDT,SHIB
55
+ 53,SOLUSDT,SOL
56
+ 54,STXUSDT,STX
57
+ 55,SUNUSDT,SUN
58
+ 56,THETAUSDT,THETA
59
+ 57,TRXUSDT,TRX
60
+ 58,TWTUSDT,TWT
61
+ 59,UNIUSDT,UNI
62
+ 60,VETUSDT,VET
63
+ 61,XECUSDT,XEC
64
+ 62,XLMUSDT,XLM
65
+ 63,XRPUSDT,XRP
66
+ 64,XTZUSDT,XTZ
67
+ 65,ZECUSDT,ZEC
hf_cryptogat_crypto_1d/metadata/enhanced_feature_names.csv ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ feature_index,feature_name,dataset
2
+ 0,open_norm,CRYPTO_1D_ENHANCED
3
+ 1,high_norm,CRYPTO_1D_ENHANCED
4
+ 2,low_norm,CRYPTO_1D_ENHANCED
5
+ 3,close_norm,CRYPTO_1D_ENHANCED
6
+ 4,volume_norm,CRYPTO_1D_ENHANCED
7
+ 5,sma_ratio_7,CRYPTO_1D_ENHANCED
8
+ 6,sma_ratio_14,CRYPTO_1D_ENHANCED
9
+ 7,sma_cross,CRYPTO_1D_ENHANCED
10
+ 8,ema_ratio_7,CRYPTO_1D_ENHANCED
11
+ 9,ema_ratio_14,CRYPTO_1D_ENHANCED
12
+ 10,macd_norm,CRYPTO_1D_ENHANCED
13
+ 11,rsi_14,CRYPTO_1D_ENHANCED
14
+ 12,rsi_7,CRYPTO_1D_ENHANCED
15
+ 13,roc_7,CRYPTO_1D_ENHANCED
16
+ 14,roc_14,CRYPTO_1D_ENHANCED
17
+ 15,momentum_7,CRYPTO_1D_ENHANCED
18
+ 16,bb_position,CRYPTO_1D_ENHANCED
19
+ 17,bb_width,CRYPTO_1D_ENHANCED
20
+ 18,atr_norm,CRYPTO_1D_ENHANCED
21
+ 19,volatility_7,CRYPTO_1D_ENHANCED
22
+ 20,volatility_14,CRYPTO_1D_ENHANCED
23
+ 21,volatility_30,CRYPTO_1D_ENHANCED
24
+ 22,obv_norm,CRYPTO_1D_ENHANCED
25
+ 23,vpt_norm,CRYPTO_1D_ENHANCED
26
+ 24,volume_change,CRYPTO_1D_ENHANCED
27
+ 25,volume_trend,CRYPTO_1D_ENHANCED
28
+ 26,upper_shadow,CRYPTO_1D_ENHANCED
29
+ 27,lower_shadow,CRYPTO_1D_ENHANCED
30
+ 28,body_ratio,CRYPTO_1D_ENHANCED
31
+ 29,daily_range,CRYPTO_1D_ENHANCED
32
+ 30,return_lag_1,CRYPTO_1D_ENHANCED
33
+ 31,return_lag_3,CRYPTO_1D_ENHANCED
34
+ 32,return_lag_7,CRYPTO_1D_ENHANCED
35
+ 33,return_lag_14,CRYPTO_1D_ENHANCED
36
+ 34,return_lag_30,CRYPTO_1D_ENHANCED
hf_cryptogat_crypto_1d/metadata/manifest.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "hf_repo_id": "CharlieYPeng/cryptogat-crypto-1d",
3
+ "paper": {
4
+ "title": "CryptoGAT: Are Time Series Models Effective for Cryptocurrency Forecasting?",
5
+ "arxiv": "2606.27670",
6
+ "url": "https://arxiv.org/abs/2606.27670"
7
+ },
8
+ "github": "https://github.com/FanBroWell/CryptoGAT",
9
+ "raw_csv_files": 68,
10
+ "raw_rows": 68000,
11
+ "model_assets": 66,
12
+ "model_rows": 66000,
13
+ "excluded_from_model": [
14
+ "TUSDUSDT",
15
+ "USDCUSDT"
16
+ ],
17
+ "processed": {
18
+ "CRYPTO_1D_ALL": {
19
+ "eod_data.pkl": {
20
+ "shape": [
21
+ 66,
22
+ 999,
23
+ 5
24
+ ],
25
+ "dtype": "float32"
26
+ },
27
+ "price_data.pkl": {
28
+ "shape": [
29
+ 66,
30
+ 999
31
+ ],
32
+ "dtype": "float32"
33
+ },
34
+ "gt_data.pkl": {
35
+ "shape": [
36
+ 66,
37
+ 999
38
+ ],
39
+ "dtype": "float32"
40
+ },
41
+ "mask_data.pkl": {
42
+ "shape": [
43
+ 66,
44
+ 999
45
+ ],
46
+ "dtype": "float32"
47
+ },
48
+ "coin_names.txt": {
49
+ "count": 66,
50
+ "description": "Base asset symbols aligned to axis 0 of the processed arrays."
51
+ }
52
+ },
53
+ "CRYPTO_1D_ENHANCED": {
54
+ "eod_data.pkl": {
55
+ "shape": [
56
+ 66,
57
+ 999,
58
+ 35
59
+ ],
60
+ "dtype": "float32"
61
+ },
62
+ "price_data.pkl": {
63
+ "shape": [
64
+ 66,
65
+ 999
66
+ ],
67
+ "dtype": "float32"
68
+ },
69
+ "gt_data.pkl": {
70
+ "shape": [
71
+ 66,
72
+ 999
73
+ ],
74
+ "dtype": "float32"
75
+ },
76
+ "mask_data.pkl": {
77
+ "shape": [
78
+ 66,
79
+ 999
80
+ ],
81
+ "dtype": "float32"
82
+ },
83
+ "coin_names.txt": {
84
+ "count": 66,
85
+ "description": "Base asset symbols aligned to axis 0 of the processed arrays."
86
+ }
87
+ }
88
+ }
89
+ }
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ALL/coin_names.txt ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 1INCH
2
+ AAVE
3
+ ADA
4
+ ALGO
5
+ APT
6
+ ARB
7
+ AR
8
+ ATOM
9
+ AVAX
10
+ BAT
11
+ BCH
12
+ BNB
13
+ BTC
14
+ CAKE
15
+ CFX
16
+ CHZ
17
+ COMP
18
+ CRV
19
+ DASH
20
+ DCR
21
+ DOGE
22
+ DOT
23
+ ENS
24
+ ETC
25
+ ETH
26
+ FET
27
+ FIL
28
+ GALA
29
+ GLM
30
+ GNO
31
+ GRT
32
+ HBAR
33
+ ICP
34
+ IMX
35
+ INJ
36
+ IOTA
37
+ JASMY
38
+ JST
39
+ LDO
40
+ LINK
41
+ LTC
42
+ LUNC
43
+ MANA
44
+ NEAR
45
+ NEO
46
+ NEXO
47
+ OP
48
+ PAXG
49
+ QNT
50
+ RAY
51
+ RUNE
52
+ SAND
53
+ SHIB
54
+ SOL
55
+ STX
56
+ SUN
57
+ THETA
58
+ TRX
59
+ TWT
60
+ UNI
61
+ VET
62
+ XEC
63
+ XLM
64
+ XRP
65
+ XTZ
66
+ ZEC
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ALL/eod_data.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd3529c0aa0dc3888a8c94e580cc7b2560c88cf7b3814a9cf35c8661e8fe022d
3
+ size 1318845
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ALL/gt_data.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfdf847acaf42dc3759d2eb24fd3d5fcc14c9172d6d9e30593f51d8de9198222
3
+ size 263899
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ALL/mask_data.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ede9fb5a8a28b4ce759b14a5cef3038da673739b19ecedca08e664b4a48c11a9
3
+ size 263899
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ALL/price_data.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:798dcbced5c9cd62e5d0bf5dc6ddb54a8595530d179ad973809a92f94197dc5e
3
+ size 263899
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ENHANCED/coin_names.txt ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 1INCH
2
+ AAVE
3
+ ADA
4
+ ALGO
5
+ APT
6
+ ARB
7
+ AR
8
+ ATOM
9
+ AVAX
10
+ BAT
11
+ BCH
12
+ BNB
13
+ BTC
14
+ CAKE
15
+ CFX
16
+ CHZ
17
+ COMP
18
+ CRV
19
+ DASH
20
+ DCR
21
+ DOGE
22
+ DOT
23
+ ENS
24
+ ETC
25
+ ETH
26
+ FET
27
+ FIL
28
+ GALA
29
+ GLM
30
+ GNO
31
+ GRT
32
+ HBAR
33
+ ICP
34
+ IMX
35
+ INJ
36
+ IOTA
37
+ JASMY
38
+ JST
39
+ LDO
40
+ LINK
41
+ LTC
42
+ LUNC
43
+ MANA
44
+ NEAR
45
+ NEO
46
+ NEXO
47
+ OP
48
+ PAXG
49
+ QNT
50
+ RAY
51
+ RUNE
52
+ SAND
53
+ SHIB
54
+ SOL
55
+ STX
56
+ SUN
57
+ THETA
58
+ TRX
59
+ TWT
60
+ UNI
61
+ VET
62
+ XEC
63
+ XLM
64
+ XRP
65
+ XTZ
66
+ ZEC
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ENHANCED/eod_data.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a88a1c2c86c7aef86bf48aa07c172862c7b21912a4f6abe83cd70b35849c68e2
3
+ size 9230925
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ENHANCED/gt_data.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfdf847acaf42dc3759d2eb24fd3d5fcc14c9172d6d9e30593f51d8de9198222
3
+ size 263899
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ENHANCED/mask_data.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ede9fb5a8a28b4ce759b14a5cef3038da673739b19ecedca08e664b4a48c11a9
3
+ size 263899
hf_cryptogat_crypto_1d/processed/CRYPTO_1D_ENHANCED/price_data.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:798dcbced5c9cd62e5d0bf5dc6ddb54a8595530d179ad973809a92f94197dc5e
3
+ size 263899