Datasets:
|
Download source_dataset_card.md from THULab/crypto_trading_bot_data: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/datasets/THULab/crypto_trading_bot_data/resolve/main/source_dataset_card.md
- Command line
-
hf download hf://datasets/THULab/crypto_trading_bot_data/source_dataset_card.md
-
curl -L -o source_dataset_card.md https://huggingface.co/datasets/THULab/crypto_trading_bot_data/resolve/main/source_dataset_card.md
1.72 kB
| --- | |
| license: mit | |
| task_categories: | |
| - time-series-forecasting | |
| - tabular-classification | |
| language: | |
| - en | |
| tags: | |
| - crypto | |
| - trading | |
| - binance | |
| - ohlcv | |
| - technical-analysis | |
| pretty_name: Crypto Trading Bot Data | |
| size_categories: | |
| - 1M<n<10M | |
| --- | |
| # Crypto Trading Bot - Datasets | |
| Datasets de OHLCV y features generados para entrenar los modelos del proyecto | |
| [crypto_bot](https://github.com/jponfiru/crypto_bot). | |
| ## Contenido | |
| | Archivo | Tamaño | Descripción | | |
| |---|---|---| | |
| | `data_extended.db` | 3.5 GB | SQLite con 4.6M klines de los TOP 20 pares (timeframe 5min, 2024-2026) | | |
| | `data_2026.db` | 901 MB | SQLite con klines 2026 separados | | |
| | `features_extended.csv` | 2.0 GB | Features de eventos (11,563 ventanas) ya extraídos | | |
| | `features_d.csv` | 43 MB | Subset compacto de features para entrenar el Modelo D | | |
| ## Cómo descargar | |
| ```python | |
| from huggingface_hub import snapshot_download | |
| snapshot_download( | |
| repo_id="jponfiru/crypto-trading-bot-data", | |
| repo_type="dataset", | |
| local_dir="model_d_training/state", | |
| ) | |
| ``` | |
| O usando el script incluido en el repo: | |
| ```bash | |
| python scripts/download_datasets_from_hf.py | |
| ``` | |
| ## Esquema de `data_extended.db` | |
| Tabla `klines`: | |
| - `symbol` (TEXT): par de trading, ej. BTCUSDT | |
| - `timestamp` (INTEGER): unix ms | |
| - `open`, `high`, `low`, `close` (REAL): precios | |
| - `volume` (REAL): volumen del par base | |
| - `quote_volume` (REAL): volumen en USDT | |
| - `num_trades` (INTEGER) | |
| - `taker_buy_base`, `taker_buy_quote` (REAL): volumen del lado comprador | |
| ## Licencia | |
| MIT — uso libre con atribución. Datos descargados de Binance Spot Public Data. | |