fix: Correct function name check_existing_position to check_existing_positions

Fixed NameError in enhanced trading check:
- check_existing_position() does not exist
- Correct function is check_existing_positions() (with 's')

Fixed in:
- activate_enhanced_scoring.py
- Notebook cells 84 and 89

Error resolved: NameError: name 'check_existing_position' is not defined
This commit is contained in:
2026-01-21 13:29:45 +01:00
parent 35e19143ac
commit ccbc5f8d06
3 changed files with 5 additions and 13 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ def enhanced_trading_check_wrapper(symbol="XAUUSD", debug=False):
try:
# SCHRITT 1: Position Check (wie vorher)
max_positions = TRADING_CONFIG['risk']['max_positions']
position_info = check_existing_position(symbol)
position_info = check_existing_positions(symbol)
if position_info['count'] >= max_positions:
if debug: