fix: Update external config files to use 0.10 lot size
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>
This commit is contained in:
1 parent
a71ecafb0a
commit
2de5f9f53f
4 files changed
+738
-538
No files matched your search
@@ -40,6 +40,11 @@ SESSION_WHITELIST_CONFIG = {
|
||||
'max_risk_per_trade': 0.02, # Max Risk pro Trade (2%) - Erhöht am 20.12.2025 für Adaptive Sizing
|
||||
'min_atr': 0.0008, # Minimum ATR für Risk Filter
|
||||
|
||||
# Lot Sizing (14.01.2026)
|
||||
'min_lot': 0.10, # Minimum Lot Size
|
||||
'max_lot': 0.20, # Maximum Lot Size
|
||||
'default_lot': 0.10, # Default/Fallback Lot Size
|
||||
|
||||
# Trading Optionen
|
||||
'risk_filter': True, # ATR-basierter Risk Filter
|
||||
'use_pullback_entry': False, # Pullback Entry Strategie
|
||||
|
||||
Reference in new issue
Block a user