Datasets:
Commit
·
110704e
0
Parent(s):
Initial commit
Browse files- .gitattributes +1 -0
- LICENSE +28 -0
- README.md +47 -0
- processed/test_dataset.parquet +3 -0
- processed/train_dataset.parquet +3 -0
- raw/BTCUSDT.parquet +3 -0
- raw/raw_1h_data.parquet +3 -0
- samples/data-overview.md +51 -0
- samples/raw_1h_data.csv +11 -0
- samples/train_dataset.csv +11 -0
.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD-3-Clause
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2025 Ilya Snegov (aka Sierra Arn)
|
| 4 |
+
|
| 5 |
+
Redistribution and use in source and binary forms, with or without
|
| 6 |
+
modification, are permitted provided that the following conditions are met:
|
| 7 |
+
|
| 8 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 9 |
+
list of conditions and the following disclaimer.
|
| 10 |
+
|
| 11 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 12 |
+
this list of conditions and the following disclaimer in the documentation
|
| 13 |
+
and/or other materials provided with the distribution.
|
| 14 |
+
|
| 15 |
+
* Neither the name of the copyright holder nor the names of its
|
| 16 |
+
contributors may be used to endorse or promote products derived from
|
| 17 |
+
this software without specific prior written permission.
|
| 18 |
+
|
| 19 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 20 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 21 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 22 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 23 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 24 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 25 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 26 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 27 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 28 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- cryptocurrency
|
| 4 |
+
- bitcoin
|
| 5 |
+
- btcusdt
|
| 6 |
+
- ohlcv
|
| 7 |
+
- candlestick
|
| 8 |
+
- time-series
|
| 9 |
+
- financial-data
|
| 10 |
+
- technical-indicators
|
| 11 |
+
- machine-learning
|
| 12 |
+
- trading
|
| 13 |
+
- finml
|
| 14 |
+
task_categories:
|
| 15 |
+
- time-series-forecasting
|
| 16 |
+
- other
|
| 17 |
+
license: bsd-3-clause
|
| 18 |
+
language:
|
| 19 |
+
- en
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# **Financial ML Lab Dataset**
|
| 23 |
+
|
| 24 |
+
This dataset is a component of the [finml-lab](https://github.com/Sierra-Arn/finml-lab) project, offering raw and preprocessed cryptocurrency (BTCUSDT) 1-hour OHLCV candlestick market data designed for machine learning experiments and educational purposes.
|
| 25 |
+
|
| 26 |
+
## **Raw Data Source**
|
| 27 |
+
|
| 28 |
+
The raw data was sourced from [Arthur Neuron's Cryptocurrency Futures OHLCV Dataset 1m 2024](https://www.kaggle.com/datasets/arthurneuron/cryptocurrency-futures-ohlcv-dataset-1m-2024) on Kaggle, distributed under the MIT license.
|
| 29 |
+
|
| 30 |
+
## **Dataset Structure**
|
| 31 |
+
|
| 32 |
+
```bash
|
| 33 |
+
├── processed/
|
| 34 |
+
│ ├── test_dataset.parquet # Test split for model evaluation
|
| 35 |
+
│ └── train_dataset.parquet # Training split for model training
|
| 36 |
+
├── raw/
|
| 37 |
+
│ ├── BTCUSDT.parquet # Raw BTCUSDT price data from Kaggle
|
| 38 |
+
│ └── raw_1h_data.parquet # Aggregated 1-hour candles
|
| 39 |
+
└── samples/
|
| 40 |
+
├── raw_1h_data.csv # Sample of raw data (first 10 records)
|
| 41 |
+
├── train_dataset.csv # Sample of training split (first 10 records)
|
| 42 |
+
└── data_overview.md # Detailed description of features
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
## **License**
|
| 46 |
+
|
| 47 |
+
This project is licensed under the [BSD-3-Clause License](LICENSE).
|
processed/test_dataset.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a74c9acb79f0c48bb2327268f9dc3146eee970284880ae7247df490a5cf67115
|
| 3 |
+
size 1155401
|
processed/train_dataset.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1559e8e1bbc66ad388d906d8a84ce5dbf39071886f46c33097eb3e3fbf2c676
|
| 3 |
+
size 4930823
|
raw/BTCUSDT.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b885fe44ef144a77aa2c339c3956b3b2706bd9d2a69cc68999a8c0857e90ff2
|
| 3 |
+
size 69549507
|
raw/raw_1h_data.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ada94899539dc069e19cd7f840b98aee69e57564ea796672179d2b9cb39cc86
|
| 3 |
+
size 1690640
|
samples/data-overview.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# **Data overview**
|
| 2 |
+
|
| 3 |
+
## **Notes**
|
| 4 |
+
|
| 5 |
+
- Each record represents 1-hour candlesticks.
|
| 6 |
+
- Most features were created using the ta-lib technical analysis library.
|
| 7 |
+
- Numerical data in `train_dataset.csv` has already been processed with robust scaling, while categorical features have been label encoded.
|
| 8 |
+
|
| 9 |
+
## **`raw_1h_data.csv`**
|
| 10 |
+
|
| 11 |
+
### **Index**
|
| 12 |
+
|
| 13 |
+
- **datetime** - date and time (in `YYYY-MM-DD HH:MM:SS` format), indicating the timestamp for each record.
|
| 14 |
+
|
| 15 |
+
### **Features**
|
| 16 |
+
|
| 17 |
+
1. **open** - opening price for the hourly interval.
|
| 18 |
+
2. **high** - highest price reached during the hour.
|
| 19 |
+
3. **low** - lowest price reached during the hour.
|
| 20 |
+
4. **close** - closing price for the hourly interval.
|
| 21 |
+
5. **volume** - trading volume traded during that hour.
|
| 22 |
+
|
| 23 |
+
## **`train_dataset.csv`**
|
| 24 |
+
|
| 25 |
+
### **Index**
|
| 26 |
+
|
| 27 |
+
- **datetime** - date and time (in `YYYY-MM-DD HH:MM:SS` format), indicating the timestamp for each record.
|
| 28 |
+
|
| 29 |
+
### **Features**
|
| 30 |
+
|
| 31 |
+
1. **volume** - trading volume traded during the hour.
|
| 32 |
+
2. **SAREXT** - Extended Parabolic SAR.
|
| 33 |
+
3. **BBANDS_168_lower** - Lower Bollinger Band with 168-hour lookback.
|
| 34 |
+
4. **ADXR_24** - Average Directional Movement Index Rating with 24-hour lookback.
|
| 35 |
+
5. **ADXR_72** - Average Directional Movement Index Rating with 72-hour lookback.
|
| 36 |
+
6. **ADXR_168** - Average Directional Movement Index Rating with 168-hour lookback.
|
| 37 |
+
7. **DX_24** - Directional Movement Index with 24-hour lookback.
|
| 38 |
+
8. **STOCHRSI_D** - Stochastic RSI D-line.
|
| 39 |
+
9. **APO** - Absolute Price Oscillator.
|
| 40 |
+
10. **TRIX_24** - 1-day Rate-of-Change of Triple Smooth EMA with 24-hour lookback.
|
| 41 |
+
11. **TRIX_168** - 1-day Rate-of-Change of Triple Smooth EMA with 168-hour lookback.
|
| 42 |
+
12. **ADOSC** - Chaikin A/D Oscillator.
|
| 43 |
+
13. **HT_DCPERIOD** - Hilbert Transform - Dominant Cycle Period.
|
| 44 |
+
14. **HT_PHASOR_inphase** - Hilbert Transform Phasor Component.
|
| 45 |
+
15. **candles_since_start** - Cumulative count of candles elapsed since the beginning of the dataset.
|
| 46 |
+
16. **day_sin** - Sine component of circular encoding for time of day.
|
| 47 |
+
17. **day_cos** - Cosine component of circular encoding for time of day.
|
| 48 |
+
18. **dayofweek_sin** - Sine component of circular encoding for day of week.
|
| 49 |
+
19. **dayofyear_sin** - Sine component of circular encoding for day of year.
|
| 50 |
+
20. **dayofyear_cos** - Cosine component of circular encoding for day of year.
|
| 51 |
+
21. **target** - Target variable (closing price of the next record).
|
samples/raw_1h_data.csv
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
datetime,open,high,low,close,volume
|
| 2 |
+
2019-09-08 17:00:00,10000.0,10000.0,10000.0,10000.0,0.002
|
| 3 |
+
2019-09-08 18:00:00,10000.0,10000.0,10000.0,10000.0,0.0
|
| 4 |
+
2019-09-08 19:00:00,10000.0,10357.53,10000.0,10340.12,471.659
|
| 5 |
+
2019-09-08 20:00:00,10340.12,10368.64,10334.54,10351.42,583.271
|
| 6 |
+
2019-09-08 21:00:00,10351.42,10391.9,10324.77,10391.9,689.759
|
| 7 |
+
2019-09-08 22:00:00,10392.59,10412.65,10375.58,10375.58,675.394
|
| 8 |
+
2019-09-08 23:00:00,10375.58,10392.25,10366.57,10391.63,676.206
|
| 9 |
+
2019-09-09 00:00:00,10391.63,10391.63,10391.63,10391.63,0.0
|
| 10 |
+
2019-09-09 01:00:00,10391.63,10391.63,10391.63,10391.63,0.0
|
| 11 |
+
2019-09-09 02:00:00,10391.63,10391.63,10294.29,10296.04,96.462
|
samples/train_dataset.csv
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
datetime,volume,SAREXT,BBANDS_168_lower,ADXR_24,ADXR_72,ADXR_168,DX_24,STOCHRSI_D,APO,TRIX_24,TRIX_168,ADOSC,HT_DCPERIOD,HT_PHASOR_inphase,candles_since_start,day_sin,day_cos,dayofweek_sin,dayofyear_sin,dayofyear_cos,target
|
| 2 |
+
2019-09-29 15:00:00,-0.6583063573677129,-0.3465460234173944,-0.46233566770345663,-0.12493898750451063,3.5129496873195705,0.8999382848599028,0.5231481638521218,-0.8795686107401194,-0.23224336920161084,-0.19007381577108917,-1.7503007408639513,-0.14143659701036862,-0.5981279372290498,-0.09146271615363306,-1.0,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,8030.37
|
| 3 |
+
2019-09-29 16:00:00,-0.6606303146976529,-0.34594574978020837,-0.4623874679090041,-0.13792933084941497,3.527011422407808,0.9080014410457734,0.21858902163506938,-0.3136775354841678,-0.2567217655787511,-0.21607640428419808,-1.7549651907733,-0.033028728927864646,-0.5013435324160752,-0.14817948877412584,-0.9999340977988664,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,7992.37
|
| 4 |
+
2019-09-29 17:00:00,-0.7467306469798412,-0.3453934980339972,-0.46245674417115884,-0.15390297260349156,3.5338768971421652,0.9164625451058166,0.21858902163506938,0.07074251838000273,-0.2942333243257276,-0.24253270758717538,-1.7595623195673158,-0.020801856457985924,-0.3323366587324418,-0.33803741464572795,-0.999868195597733,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,7979.04
|
| 5 |
+
2019-09-29 18:00:00,-0.7535078884198174,-0.344885426427483,-0.4625281032151966,-0.15891523734424698,3.541345232369954,0.9250669331516979,0.3361711833840094,0.3885303562509093,-0.31481376521934984,-0.2696794210558195,-1.7640957447980032,-0.032233463303212646,-0.10452459865957252,-0.4794104972731045,-0.9998022933965994,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,7956.4
|
| 6 |
+
2019-09-29 19:00:00,-0.6815094666569741,-0.34441800054948984,-0.4625894957530955,-0.16311346444035518,3.5485626231608527,0.9334497189581389,0.46698036609093435,0.007796570967923373,-0.3313180744830617,-0.2983154817291259,-1.768572739770281,-0.05959643699740437,0.17414468176456832,-0.4065183648555071,-0.999736391195466,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,7988.76
|
| 7 |
+
2019-09-29 20:00:00,-0.691879815557557,-0.3439879687417362,-0.46259912868018677,-0.16692134548401058,3.556533615144549,0.9411328452875335,0.4719909651910815,0.04493604790433256,-0.34310337755006404,-0.3252416779386545,-1.772978180772836,-0.02049993960518302,0.43344385123535445,-0.36961350429993617,-0.9996704889943324,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,8039.64
|
| 8 |
+
2019-09-29 21:00:00,-0.6200308339046418,0.024513166914226395,-0.4625382509301647,-0.1899785674725766,3.558232363511657,0.947361140512775,-0.23432272509956853,0.31589442974388915,-0.3469690797065658,-0.34670788405138747,-1.7772899676615954,-0.005956212578070416,0.5236535490311802,-0.05709990280174274,-0.9996045867931989,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,8072.16
|
| 9 |
+
2019-09-29 22:00:00,-0.6090244685195215,0.024611104635214518,-0.4624468043184717,-0.21879226238940477,3.558494344596046,0.9531631210089485,-0.39056244606756607,0.6966282150268748,-0.33196314102356345,-0.361140195936309,-1.781494141667284,-0.012842952424729184,0.641919917256121,0.08122123452519933,-0.9995386845920654,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,8041.96
|
| 10 |
+
2019-09-29 23:00:00,-0.7651135725356816,0.024826620710158658,-0.4623643580957097,-0.24574216419560121,3.559973087838047,0.9597732692304763,-0.39056244606756585,0.7318501100484869,-0.32873592948650454,-0.3717456558833185,-1.7856025680077359,-0.059237773612562473,0.8644866918135562,-0.0646166570492159,-0.9994727823909318,-0.3943558551133187,0.9189578116202306,-0.7818314824680299,-0.9994446170919858,-0.033323525711631344,8006.53
|
| 11 |
+
2019-09-30 00:00:00,-0.6992826329321591,0.025033516142105038,-0.4623037696803171,-0.25934395438947666,3.563203133614635,0.966764901110584,-0.1062081936212138,0.3280981960453515,-0.29817198789191524,-0.3814481894437637,-1.7896288806546032,-0.10514550909727963,0.9640953915692498,-0.13192679897768278,-0.9994068801897983,-0.20129852008866114,0.9795299412524943,0.0,-0.9998699583618592,-0.016126573270657762,8019.52
|