84 lines
1.6 KiB
JSON
84 lines
1.6 KiB
JSON
{
|
|
"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.5
|
|
},
|
|
"hyperparameters": {
|
|
"learning_rate": 0.05,
|
|
"max_depth": 4,
|
|
"n_estimators": 500,
|
|
"subsample": 0.8,
|
|
"colsample_bytree": 0.8,
|
|
"min_child_weight": 5,
|
|
"gamma": 0.1,
|
|
"reg_alpha": 0.5,
|
|
"reg_lambda": 2.0
|
|
},
|
|
"strategy": {
|
|
"entry_threshold": 0.75,
|
|
"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"
|
|
} |