- Bug: TP1 profit never accumulated, only TP2 profit recorded
- Impact: Database understated all two-stage trades by TP1 amount
- Example: Actual 7.69 (5.87 TP1 + 1.82 TP2) showed as 5.83
- Fix: Accumulate realizedPnL for ALL closes (partial and full)
- Root Cause: percentToClose >= 100 check excluded TP1 (60%) from P&L update
- File: lib/trading/position-manager.ts line 1916-1920
- Discovered: Dec 15, 2025 - User caught calculation error