- SVM
- SVM + Sliding window (3 labels)
- SVM + Sliding window (5 labels)
- SVM + Sliding window + PCA
- SVM + Sliding window + PCA + Condition
- Collect Data
- Collect orderbook data:
dowload_order_book.py - Collect fear and greed index:
select_fng.py - Calculate threshold:
calculate_threshold.py
- Collect orderbook data:
- Data preprocessing
- Split data into windows:
interval_split.py
- Split data into windows:
- Model
- Select features, labels and construct original SVM model:
svm.py - Build self-designed model from original SVM model:
model_builder.py
- Select features, labels and construct original SVM model:
- Backtesting
- From prediction results to investment positions:
generate_pos.py - Take actions of positions:
trading.py - Evaluate performances:
backtesting.py(The full version of backtesting is not used inmain.py, but write a simplified version inmain.py.)
- From prediction results to investment positions:
- Master
- CPU_Version The version to be deployed locally
- GPU_Version The version to be deployed on Colab