Files
trading_bot_v4/close_emergency.sh
mindesbunister 57c2565e63 critical: Position Manager monitoring failure - 08 loss incident (Dec 8, 2025)
- Bug #73 recurrence: Position opened Dec 7 22:15 but PM never monitored
- Root cause: Container running OLD code from BEFORE Dec 7 fix (2:46 AM start < 2:46 AM commit)
- User lost 08 on unprotected SOL-PERP SHORT
- Fix: Rebuilt and restarted container with 3-layer safety system
- Status: VERIFIED deployed - all safety layers active
- Prevention: Container timestamp MUST be AFTER commit timestamp
2025-12-08 07:51:28 +01:00

5 lines
199 B
Bash
Executable File

#!/bin/bash
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $API_SECRET_KEY" \
http://localhost:3001/api/trading/close \
-d '{"symbol": "SOL-PERP", "percentage": 100}'