214b64945d
Live trading optimizations (cumulative: $2,807 net, 81.8% WR, Sharpe 3.97): - #28B: Smart breakeven locks profit at entry + 0.5x ATR instead of fixed $2 - #31B: H1 Price vs EMA20 filter — BUY only when H1 bullish, SELL only when bearish Backtests #26-#32 (7 scripts testing sell improvement, regime-aware entry, confluence scoring, dynamic RR, multi-TF H1, and ML exit optimizer). Winners: #28B (+$229), #31B (+$343). Failed: #26, #27, #29, #30, #32. Also includes: web dashboard redesign, Docker setup, startup scripts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# ===========================================
|
|
# XAUBot AI - Docker Environment Configuration
|
|
# ===========================================
|
|
|
|
# ============== MT5 CONNECTION ==============
|
|
# Your MetaTrader 5 account credentials
|
|
MT5_LOGIN=your_mt5_login
|
|
MT5_PASSWORD=your_mt5_password
|
|
MT5_SERVER=your_mt5_server
|
|
MT5_PATH=/path/to/mt5/terminal
|
|
|
|
# ============== TRADING CONFIG ==============
|
|
SYMBOL=XAUUSD
|
|
CAPITAL=10000
|
|
|
|
# ============== DATABASE ==============
|
|
DB_HOST=postgres
|
|
DB_PORT=5432
|
|
DB_USER=trading_bot
|
|
DB_PASSWORD=trading_bot_2026
|
|
DB_NAME=trading_db
|
|
|
|
# ============== TELEGRAM (Optional) ==============
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_CHAT_ID=
|
|
|
|
# ============== PORTS ==============
|
|
# Ports accessible from host machine
|
|
API_PORT=8000 # Trading API (FastAPI)
|
|
DASHBOARD_PORT=3000 # Web Dashboard (Next.js)
|
|
DB_PORT=5432 # PostgreSQL
|
|
PGADMIN_PORT=5050 # pgAdmin (optional)
|
|
|
|
# ============== PGADMIN (Optional) ==============
|
|
PGADMIN_EMAIL=admin@trading.local
|
|
PGADMIN_PASSWORD=admin123
|
|
|
|
# ============== TIMEZONE ==============
|
|
TZ=Asia/Jakarta
|