| --- |
| license: other |
| license_name: other |
| license_link: LICENSE |
| pretty_name: CryptoGAT Cryptocurrency Daily OHLCV Dataset |
| task_categories: |
| - time-series-forecasting |
| language: |
| - en |
| size_categories: |
| - 10K<n<100K |
| tags: |
| - cryptocurrency |
| - crypto |
| - finance |
| - quantitative-finance |
| - ai-for-finance |
| - time-series |
| - timeseries |
| - tabular |
| - graph-neural-networks |
| - graph-attention-network |
| - cross-asset-modeling |
| - cryptocurrency-forecasting |
| - datasets |
| - pandas |
| - arxiv:2606.27670 |
| configs: |
| - config_name: default |
| data_files: |
| - split: train |
| path: data/raw_ohlcv.csv |
| --- |
| |
| # CryptoGAT Cryptocurrency Daily OHLCV Dataset |
|
|
| [](https://arxiv.org/abs/2606.27670) |
| [](https://github.com/FanBroWell/CryptoGAT) |
| [](https://huggingface.co/datasets/CharlieYPeng/cryptogat-crypto-1d) |
|
|
| This dataset accompanies the paper **[CryptoGAT: Are Time Series Models Effective for Cryptocurrency Forecasting?](https://arxiv.org/abs/2606.27670)** by Yu Peng, Matloob Khushi, and Josiah Poon. |
|
|
| CryptoGAT studies cryptocurrency forecasting from a cross-asset perspective: instead of relying only on temporal patterns within each coin, it treats the market as a graph of interacting assets and learns relationships across cryptocurrencies. This Hugging Face dataset provides the daily OHLCV market data, processed tensors, feature metadata, and asset ordering needed to reproduce and extend the CryptoGAT experiments. |
|
|
|  |
|
|
| ## Why This Dataset |
|
|
| - **Reproducible benchmark for cryptocurrency forecasting.** Includes the raw long-format OHLCV table and the processed tensors used by the CryptoGAT experiments. |
| - **Cross-asset graph modeling ready.** The processed files align assets along axis 0, making them convenient for graph neural networks, attention models, and cross-sectional forecasting baselines. |
| - **Both simple and enhanced features.** Use the base OHLCV-derived representation for clean comparisons, or the enhanced technical-indicator representation for richer feature studies. |
| - **Easy to load from the Hub.** The default configuration loads directly with `datasets`, while processed tensors can be downloaded with `huggingface_hub`. |
|
|
| ## Dataset At A Glance |
|
|
| | Item | Value | |
| |---|---:| |
| | Raw rows | 68,000 | |
| | Raw trading pairs | 68 USDT pairs | |
| | Raw frequency | Daily | |
| | Date range | 2023-04-15 to 2026-01-08 | |
| | Quote asset | USDT | |
| | Processed model assets | 66 cryptocurrencies | |
| | Common processed window | 999 daily observations | |
| | Main formats | CSV, Python pickle, CSV metadata, JSON manifest | |
| | Paper | https://arxiv.org/abs/2606.27670 | |
| | Code | https://github.com/FanBroWell/CryptoGAT | |
|
|
| `USDCUSDT` and `TUSDUSDT` are kept in the raw OHLCV file but excluded from the processed model tensors. |
|
|
| ## Quick Start |
|
|
| Load the default raw OHLCV table: |
|
|
| ```python |
| from datasets import load_dataset |
| |
| dataset = load_dataset("CharlieYPeng/cryptogat-crypto-1d") |
| df = dataset["train"].to_pandas() |
| |
| print(df.head()) |
| print(df["symbol"].nunique()) |
| print(df[["date", "symbol", "close", "volume"]].head()) |
| ``` |
|
|
| Download a processed tensor used by the paper: |
|
|
| ```python |
| import pickle |
| from huggingface_hub import hf_hub_download |
| |
| path = hf_hub_download( |
| repo_id="CharlieYPeng/cryptogat-crypto-1d", |
| repo_type="dataset", |
| filename="processed/CRYPTO_1D_ALL/eod_data.pkl", |
| ) |
| |
| with open(path, "rb") as f: |
| eod_data = pickle.load(f) |
| |
| print(eod_data.shape) # (66, 999, 5) |
| ``` |
|
|
| Download the asset ordering for axis 0: |
|
|
| ```python |
| from huggingface_hub import hf_hub_download |
| |
| path = hf_hub_download( |
| repo_id="CharlieYPeng/cryptogat-crypto-1d", |
| repo_type="dataset", |
| filename="processed/CRYPTO_1D_ALL/coin_names.txt", |
| ) |
| |
| with open(path) as f: |
| coins = [line.strip() for line in f if line.strip()] |
| |
| print(coins[:10]) |
| ``` |
|
|
| ## Repository Structure |
|
|
| ```text |
| data/raw_ohlcv.csv |
| processed/CRYPTO_1D_ALL/eod_data.pkl |
| processed/CRYPTO_1D_ALL/price_data.pkl |
| processed/CRYPTO_1D_ALL/gt_data.pkl |
| processed/CRYPTO_1D_ALL/mask_data.pkl |
| processed/CRYPTO_1D_ALL/coin_names.txt |
| processed/CRYPTO_1D_ENHANCED/eod_data.pkl |
| processed/CRYPTO_1D_ENHANCED/price_data.pkl |
| processed/CRYPTO_1D_ENHANCED/gt_data.pkl |
| processed/CRYPTO_1D_ENHANCED/mask_data.pkl |
| processed/CRYPTO_1D_ENHANCED/coin_names.txt |
| metadata/base_feature_names.csv |
| metadata/enhanced_feature_names.csv |
| metadata/cryptogat_model_assets.csv |
| metadata/manifest.json |
| assets/cryptogat-overview-results.png |
| ``` |
|
|
| ## Raw OHLCV Table |
|
|
| `data/raw_ohlcv.csv` is a long-format daily market table. |
|
|
| | Column | Description | |
| |---|---| |
| | `symbol` | Trading pair symbol, for example `BTCUSDT` | |
| | `base_asset` | Base cryptocurrency ticker, for example `BTC` | |
| | `quote_asset` | Quote asset, fixed as `USDT` | |
| | `date` | Daily timestamp | |
| | `open` | Daily open price | |
| | `high` | Daily high price | |
| | `low` | Daily low price | |
| | `close` | Daily close price | |
| | `volume` | Daily traded volume | |
| | `included_in_cryptogat` | Whether the symbol is included in the processed CryptoGAT tensors | |
| | `source_file` | Source CSV filename in the original CryptoGAT repository | |
|
|
| ## Processed Tensor Layout |
|
|
| The processed files are Python pickle files containing NumPy arrays. Asset order is fixed by the corresponding `coin_names.txt` file. |
|
|
| ### `CRYPTO_1D_ALL` |
|
|
| | File | Shape | Dtype | Meaning | |
| |---|---:|---|---| |
| | `eod_data.pkl` | `(66, 999, 5)` | `float32` | Normalized OHLCV-derived features | |
| | `price_data.pkl` | `(66, 999)` | `float32` | Close prices | |
| | `gt_data.pkl` | `(66, 999)` | `float32` | Next-period return labels | |
| | `mask_data.pkl` | `(66, 999)` | `float32` | Valid-observation mask | |
| | `coin_names.txt` | `66` entries | text | Asset order for axis 0 | |
|
|
| Feature names are listed in `metadata/base_feature_names.csv`: |
|
|
| ```text |
| open_norm, high_norm, low_norm, close_norm, volume_norm |
| ``` |
|
|
| ### `CRYPTO_1D_ENHANCED` |
|
|
| | File | Shape | Dtype | Meaning | |
| |---|---:|---|---| |
| | `eod_data.pkl` | `(66, 999, 35)` | `float32` | Base features plus technical indicators | |
| | `price_data.pkl` | `(66, 999)` | `float32` | Close prices | |
| | `gt_data.pkl` | `(66, 999)` | `float32` | Next-period return labels | |
| | `mask_data.pkl` | `(66, 999)` | `float32` | Valid-observation mask | |
| | `coin_names.txt` | `66` entries | text | Asset order for axis 0 | |
|
|
| Feature names are listed in `metadata/enhanced_feature_names.csv`. They include normalized OHLCV fields, moving-average ratios, MACD, RSI, rate-of-change, volatility, volume-flow features, candle-shape features, and return lags. |
|
|
| ## Intended Uses |
|
|
| This dataset is designed for research on: |
|
|
| - cryptocurrency return forecasting; |
| - cross-asset graph neural networks; |
| - graph attention models for financial markets; |
| - time-series versus cross-sectional modeling comparisons; |
| - reproducible baselines for pure price-based crypto prediction; |
| - feature engineering studies on daily OHLCV data. |
|
|
| It can also be used as a compact benchmark for teaching or prototyping financial machine learning pipelines. |
|
|
| ## Reproducing CryptoGAT |
|
|
| The original training code expects 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: |
|
|
| ```text |
| CryptoGAT/dataset/CRYPTO_1D_ALL/ |
| CryptoGAT/dataset/CRYPTO_1D_ENHANCED/ |
| ``` |
|
|
| Then follow the training instructions in the official implementation: |
|
|
| ```text |
| https://github.com/FanBroWell/CryptoGAT |
| ``` |
|
|
| ## Data Source And License Note |
|
|
| 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. |
|
|
| This dataset is provided for research and benchmarking. It is not financial advice and should not be used as the sole basis for trading or investment decisions. |
|
|
| ## Citation |
|
|
| If you use this dataset, code, or paper, please cite: |
|
|
| ```bibtex |
| @misc{peng2026cryptogat, |
| title = {{CryptoGAT}: Are Time Series Models Effective for Cryptocurrency Forecasting?}, |
| author = {Peng, Yu and Khushi, Matloob and Poon, Josiah}, |
| year = {2026}, |
| eprint = {2606.27670}, |
| archivePrefix = {arXiv}, |
| primaryClass = {cs.CE}, |
| doi = {10.48550/arXiv.2606.27670}, |
| url = {https://arxiv.org/abs/2606.27670} |
| } |
| ``` |
|
|
| ## Links |
|
|
| - Paper: https://arxiv.org/abs/2606.27670 |
| - Code: https://github.com/FanBroWell/CryptoGAT |
| - Dataset: https://huggingface.co/datasets/CharlieYPeng/cryptogat-crypto-1d |
|
|