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:
GifariKemal
2026-02-06 09:01:35 +07:00
co-authored by Claude Opus 4.5
commit 7af9183af3
121 changed files with 43387 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
@echo off
echo ========================================
echo AI Trading Bot - Web Dashboard
echo ========================================
echo.
:: Start API Server
echo Starting API Server on port 8000...
start "API Server" cmd /k "cd /d %~dp0 && python web-dashboard\api\main.py"
:: Wait a bit for API to start
timeout /t 3 /nobreak > nul
:: Start Next.js Frontend
echo Starting Web Dashboard on port 3000...
start "Web Dashboard" cmd /k "cd /d %~dp0\web-dashboard && npm run dev"
echo.
echo ========================================
echo Dashboard starting...
echo.
echo API Server: http://localhost:8000
echo Web Dashboard: http://localhost:3000
echo ========================================
echo.
echo Press any key to open dashboard in browser...
pause > nul
start http://localhost:3000