feat: Smart AI Trading Bot for XAUUSD with ML and SMC
- XGBoost ML model with 37 features for market direction prediction - Smart Money Concepts (SMC): Order Blocks, FVG, BOS, CHoCH - HMM market regime detection (trending/ranging/volatile) - ATR-based stop loss with 1.5 ATR minimum distance - Broker-level SL protection with fallback - Time-based exit (max 6 hours per trade) - Session-aware trading optimized for London/NY overlap - Auto-retraining based on market conditions - Telegram notifications and web dashboard - Backtest results: 63.9% win rate, 2.64 profit factor, 4.83 Sharpe Backtest period: Jan 2025 - Feb 2026, 654 trades, $4,189 net P/L Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
"""
|
||||
Smart Automatic Trading BOT + AI
|
||||
================================
|
||||
Hybrid AI Forex Trading System for XAUUSD
|
||||
|
||||
Tech Stack:
|
||||
- Polars (Rust-based DataFrame engine)
|
||||
- MetaTrader5 (Broker connection)
|
||||
- XGBoost (ML predictions)
|
||||
- HMM (Regime detection)
|
||||
- Native SMC implementation (FVG, Order Blocks, BOS)
|
||||
|
||||
Author: Smart Trading Bot Team
|
||||
Version: 1.0.0
|
||||
"""
|
||||
|
||||
__version__ = "1.0.0"
|
||||
__author__ = "Smart Trading Bot Team"
|
||||
|
||||
from .config import TradingConfig, CapitalMode
|
||||
from .mt5_connector import MT5Connector
|
||||
from .smc_polars import SMCAnalyzer
|
||||
from .feature_eng import FeatureEngineer
|
||||
from .regime_detector import MarketRegimeDetector
|
||||
from .risk_engine import RiskEngine
|
||||
from .ml_model import TradingModel
|
||||
|
||||
__all__ = [
|
||||
"TradingConfig",
|
||||
"CapitalMode",
|
||||
"MT5Connector",
|
||||
"SMCAnalyzer",
|
||||
"FeatureEngineer",
|
||||
"MarketRegimeDetector",
|
||||
"RiskEngine",
|
||||
"TradingModel",
|
||||
]
|
||||
Reference in New Issue
Block a user