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>
45 lines
796 B
Batchfile
45 lines
796 B
Batchfile
@echo off
|
|
REM XAUBot AI - Docker Stop Script (Windows)
|
|
|
|
echo.
|
|
echo Stopping XAUBot AI Docker Services...
|
|
echo.
|
|
|
|
if "%1"=="--remove" goto remove
|
|
if "%1"=="-r" goto remove
|
|
if "%1"=="--clean" goto clean
|
|
if "%1"=="-c" goto clean
|
|
goto stop
|
|
|
|
:remove
|
|
echo Stopping and removing containers...
|
|
docker-compose down
|
|
echo.
|
|
echo Containers stopped and removed
|
|
goto end
|
|
|
|
:clean
|
|
echo WARNING: This will remove all data including database!
|
|
set /p confirm="Are you sure? (yes/no): "
|
|
if /i "%confirm%"=="yes" (
|
|
docker-compose down -v
|
|
echo.
|
|
echo Containers, networks, and volumes removed
|
|
) else (
|
|
echo.
|
|
echo Cancelled
|
|
)
|
|
goto end
|
|
|
|
:stop
|
|
echo Stopping containers data will be preserved...
|
|
docker-compose stop
|
|
echo.
|
|
echo Containers stopped
|
|
|
|
:end
|
|
echo.
|
|
echo To restart: docker-start.bat
|
|
echo.
|
|
pause
|