Files
trading_bot_v4/config
mindesbunister d288bf984c critical: Fix EMERGENCY_STOP_PERCENT env var not being loaded (Bug #90)
- Added emergencyStopPercent to getConfigFromEnv() function
- Previously hardcoded -2% was always used instead of .env value
- Root cause of trade cmkf5a2ld00kmqn07hvj351fe closing at -2.03%
  when SL was set at -2.8%
- Entry: $145.05, Exit: $142.11, SL: $140.99
- Emergency stop at -2% = $142.15 triggered, ignoring .env -20% setting

Financial Impact: Trade closed prematurely, missing potential recovery
2026-01-16 15:10:29 +01:00
..