- Documented bug where phantom auto-closure sets status='phantom' but left exitReason=NULL - Startup validator only checks exitReason, not status field - Ghost positions created false runner stop loss alerts (232% size mismatch) - Fix: MUST set exitReason when closing phantom trades - Manual cleanup: UPDATE Trade SET exitReason='manual' WHERE status='phantom' AND exitReason IS NULL - Verified: System now shows 'Found 0 open trades' after cleanup
13 KiB
13 KiB