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,40 @@
|
||||
# Smart Automatic Trading BOT + AI
|
||||
# Requirements for Hybrid AI Forex Trading System (XAUUSD)
|
||||
# Python 3.11+ required
|
||||
|
||||
# Core Data Engine (Rust-based, NOT Pandas)
|
||||
polars>=1.37.0
|
||||
pyarrow>=15.0.0
|
||||
|
||||
# Broker Connection
|
||||
MetaTrader5>=5.0.5572
|
||||
|
||||
# Machine Learning
|
||||
xgboost>=2.1.0
|
||||
scikit-learn>=1.4.0
|
||||
hmmlearn>=0.3.3
|
||||
joblib>=1.4.0
|
||||
|
||||
# Asynchronous Processing
|
||||
asyncio-throttle>=1.0.2
|
||||
|
||||
# Logging and Monitoring
|
||||
loguru>=0.7.2
|
||||
|
||||
# Environment Variables
|
||||
python-dotenv>=1.0.1
|
||||
|
||||
# Numerical Computing (for numpy-based SMC algorithms)
|
||||
numpy>=1.26.0
|
||||
|
||||
# HTTP Client (for Telegram)
|
||||
aiohttp>=3.9.0
|
||||
|
||||
# PostgreSQL Database
|
||||
psycopg2-binary>=2.9.9
|
||||
|
||||
# Optional: For backtesting
|
||||
# vectorbt>=0.26.2
|
||||
|
||||
# Optional: Connection pooling
|
||||
# asyncpg>=0.29.0
|
||||
Reference in New Issue
Block a user