Files
trading_bot_v3/lib/automation-service.ts
mindesbunister 4d319e3102 feat: Remove manual TP/SL inputs - Enable full AI-powered risk management
- Removed stop loss and take profit input fields from automation-v2 page
- Updated AutomationConfig interfaces to remove manual TP/SL parameters
- Implemented dynamic AI risk calculation methods:
  * calculateAIStopLoss() - Volatility and confidence-based SL calculation
  * calculateAITakeProfit() - Risk/reward optimized TP calculation
- Added AI Risk Management information panel explaining automated calculation
- Enhanced risk management logic to use AI-generated values first, then fallback to dynamic calculation
- Supports ultra-tight scalping percentages (0.3% to 2% SL range)
- AI adapts risk based on market volatility, confidence levels, and learned patterns
- Proven effective with real trades: 0.8% SL / 1.5% TP achieving 1.50% profit

This enables fully autonomous AI risk management without manual user intervention,
allowing the AI to optimize stop loss and take profit levels based on technical
analysis, market conditions, and continuous learning from real trade outcomes.
2025-07-24 10:31:46 +02:00

25 KiB