feat: complete BTC ML trading strategy optimizer
Multi-machine optimization loop: - VPS orchestrator coordinates training and LLM analysis - Windows PC (RTX 4070 Ti) runs XGBoost/LightGBM/CatBoost with GPU - Mac Mini runs qwen3.5:27b via Ollama for strategy analysis Includes 60+ technical features, walk-forward validation, confidence-scaled position sizing, and automated convergence detection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
7b9a4bfde7
commit
8ff35c1a86
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"model_type": "xgboost",
|
||||
"features": {
|
||||
"technical_indicators": [
|
||||
"RSI_14", "RSI_7", "RSI_21",
|
||||
"MACD_line", "MACD_signal", "MACD_hist",
|
||||
"BB_upper", "BB_lower", "BB_width",
|
||||
"ATR_14",
|
||||
"SMA_5", "SMA_10", "SMA_20", "SMA_50", "SMA_200",
|
||||
"EMA_5", "EMA_10", "EMA_20", "EMA_50",
|
||||
"OBV",
|
||||
"stoch_k", "stoch_d",
|
||||
"williams_r",
|
||||
"CCI_20",
|
||||
"ROC_10",
|
||||
"keltner_upper", "keltner_lower"
|
||||
],
|
||||
"lookback_periods": [3, 5, 10, 20],
|
||||
"use_volume_features": true,
|
||||
"use_volatility_features": true,
|
||||
"use_candle_patterns": true,
|
||||
"use_lag_features": true,
|
||||
"lag_periods": [1, 2, 3, 5]
|
||||
},
|
||||
"target": {
|
||||
"type": "classification",
|
||||
"direction": "long",
|
||||
"horizon_candles": 6,
|
||||
"threshold_pct": 1.0
|
||||
},
|
||||
"hyperparameters": {
|
||||
"learning_rate": 0.05,
|
||||
"max_depth": 6,
|
||||
"n_estimators": 500,
|
||||
"subsample": 0.8,
|
||||
"colsample_bytree": 0.8,
|
||||
"min_child_weight": 5,
|
||||
"gamma": 0.1,
|
||||
"reg_alpha": 0.1,
|
||||
"reg_lambda": 1.0
|
||||
},
|
||||
"strategy": {
|
||||
"entry_threshold": 0.60,
|
||||
"exit_type": "trailing_stop",
|
||||
"stop_loss_pct": 2.0,
|
||||
"take_profit_pct": 4.0,
|
||||
"trailing_stop_pct": 1.5,
|
||||
"position_sizing": "confidence_scaled",
|
||||
"max_position_pct": 100,
|
||||
"min_confidence_to_trade": 0.55
|
||||
},
|
||||
"training": {
|
||||
"walk_forward_windows": 5,
|
||||
"train_pct": 0.7,
|
||||
"validation_pct": 0.15,
|
||||
"test_pct": 0.15
|
||||
},
|
||||
"timeframe": "4h"
|
||||
}
|
||||
Reference in New Issue
Block a user