Files
xau-ai-trading-bot/docker-status.bat
T
buckybonez 82eca84230 feat: apply #28B smart breakeven + #31B H1 EMA20 filter, add backtests #26-#32
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>
2026-02-08 10:33:24 +07:00

56 lines
1.2 KiB
Batchfile

@echo off
REM Check status of all trading bot services
echo.
echo ========================================
echo Trading Bot Docker Services Status
echo ========================================
echo.
docker-compose ps
echo.
echo ========================================
echo Service Health Checks
echo ========================================
echo.
echo [Database]
docker exec trading_bot_db pg_isready -U trading_bot 2>nul
if %errorlevel%==0 (
echo Status: HEALTHY
) else (
echo Status: NOT RUNNING
)
echo.
echo [API]
curl -s http://localhost:8000/api/health >nul 2>&1
if %errorlevel%==0 (
echo Status: HEALTHY
echo URL: http://localhost:8000
) else (
echo Status: NOT RUNNING or UNHEALTHY
)
echo.
echo [Dashboard]
curl -s http://localhost:3000 >nul 2>&1
if %errorlevel%==0 (
echo Status: HEALTHY
echo URL: http://localhost:3000
) else (
echo Status: NOT RUNNING or UNHEALTHY
)
echo.
echo ========================================
echo Quick Commands
echo ========================================
echo View logs: docker-compose logs -f
echo Restart: docker-compose restart
echo Stop all: docker-compose stop
echo Start all: docker-compose up -d
echo.
pause