- Changed execute endpoint from warning-only to active enforcement - When placeExitOrders() returns < expected signatures, immediately: 1. Close the position 100% (emergency safety) 2. Return HTTP 500 error (prevent DB record creation) 3. Log critical error for post-mortem - Prevents unprotected positions from being created in database - Root cause: Previous fix validated but continued execution - Result: No more positions without stop loss protection Deployed: Dec 10, 2025 11:42 CET Container: trading-bot-v4 Build: sha256:d576e7c5d421
48 KiB
48 KiB