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>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
53d8cd26a2
commit
214b64945d
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# XAUBot AI - Docker Stop Script
|
||||
|
||||
set -e
|
||||
|
||||
echo "🛑 Stopping XAUBot AI Docker Services..."
|
||||
echo ""
|
||||
|
||||
# Parse arguments
|
||||
if [ "$1" == "--remove" ] || [ "$1" == "-r" ]; then
|
||||
echo "⚠️ Stopping and removing containers..."
|
||||
docker-compose down
|
||||
echo "✅ Containers stopped and removed"
|
||||
elif [ "$1" == "--clean" ] || [ "$1" == "-c" ]; then
|
||||
echo "⚠️ WARNING: This will remove all data including database!"
|
||||
read -p "Are you sure? (yes/no): " confirm
|
||||
if [ "$confirm" == "yes" ]; then
|
||||
docker-compose down -v
|
||||
echo "✅ Containers, networks, and volumes removed"
|
||||
else
|
||||
echo "❌ Cancelled"
|
||||
fi
|
||||
else
|
||||
echo "🔄 Stopping containers (data will be preserved)..."
|
||||
docker-compose stop
|
||||
echo "✅ Containers stopped"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "📋 To restart: ./docker-start.sh"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user