7af9183af3
- 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>
81 lines
874 B
Plaintext
81 lines
874 B
Plaintext
# Environment and secrets
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
*.pem
|
|
*.key
|
|
credentials.json
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# Virtual environments
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Logs (keep structure, ignore content)
|
|
logs/*.log
|
|
logs/**/*.log
|
|
|
|
# Data files (large)
|
|
data/market_data/
|
|
data/trade_logs/trades/*.csv
|
|
data/trade_logs/ml_data/*.csv
|
|
|
|
# Models (large binary files)
|
|
models/*.pkl
|
|
models/*.joblib
|
|
models/*.h5
|
|
|
|
# Backtest results (generated)
|
|
backtests/results/*.csv
|
|
|
|
# Node modules (dashboard)
|
|
web-dashboard/node_modules/
|
|
web-dashboard/.next/
|
|
web-dashboard/out/
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
*.bak
|
|
|
|
# Jupyter
|
|
.ipynb_checkpoints/
|
|
|
|
# Docker
|
|
docker/data/
|