Hierarchical ML Pipeline for trading predictions:
- Level 0: Attention Models (volatility/flow classification)
- Level 1: Base Models (XGBoost per symbol/timeframe)
- Level 2: Metamodels (XGBoost Stacking + Neural Gating)
Key components:
- src/pipelines/hierarchical_pipeline.py - Main prediction pipeline
- src/models/ - All ML model classes
- src/training/ - Training utilities
- src/api/ - FastAPI endpoints
- scripts/ - Training and evaluation scripts
- config/ - YAML configurations
Note: Trained models (*.joblib, *.pt) are gitignored.
Regenerate with training scripts.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
559 B
JSON
31 lines
559 B
JSON
{
|
|
"symbol": "XAUUSD",
|
|
"timeframe": "15m",
|
|
"period": {
|
|
"start": "2025-01-06",
|
|
"end": "2025-01-12"
|
|
},
|
|
"data_points": 1281,
|
|
"models_loaded": {
|
|
"range_predictor": true,
|
|
"movement_predictor": true,
|
|
"amd_detector": true,
|
|
"tpsl_classifier": false
|
|
},
|
|
"predictions_generated": {
|
|
"range": [
|
|
"delta_low",
|
|
"delta_high",
|
|
"direction"
|
|
],
|
|
"movement": [
|
|
"high_usd",
|
|
"low_usd",
|
|
"direction",
|
|
"asymmetry",
|
|
"confidence"
|
|
],
|
|
"amd": []
|
|
},
|
|
"output_path": "charts/XAUUSD"
|
|
} |