2de5f9f53f70b974a143e1807041447eb9b4bf4e
ROOT CAUSE FOUND: User was right - there was an external config file! advanced_position_management.py had hardcoded values: - base_risk = 0.01 (should be 0.02) - return 0.01 fallback (should be 0.10) - No min/max lot enforcement CHANGES: 1. advanced_position_management.py: ✅ base_risk: 0.01 → 0.02 (2% risk) ✅ return fallback: 0.01 → 0.10 ✅ volume_min: max(broker_min, 0.10) ✅ volume_max: min(broker_max, 0.20) 2. session_filter_patch.py: ✅ Added lot sizing config: - min_lot: 0.10 - max_lot: 0.20 - default_lot: 0.10 IMPACT: - Bot will now use 0.10 minimum lot - Adaptive sizing respects 0.10-0.20 range - No more 0.01 lot trades TESTING NEEDED: 1. Restart kernel 2. Reimport advanced_position_management 3. Verify next trade uses 0.10 lot 🎯 Generated with Claude Code Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Description
Trading Bot um XAUSD auf Vantage via MT5 zu traden
5.2 MiB
Languages
Python
71.4%
Jupyter Notebook
24.7%
Batchfile
1.7%
PowerShell
1.2%
Shell
1%