Files
trading_bot_v4/app/api
mindesbunister cd6f590742 fix: Correct v8 trade P&L to match Drift UI actual values
Database had inflated P&L from compounding bugs. Corrected to match
Drift Protocol's actual TP1+runner P&L values.

Corrections:
- Trade cmi5p09y: 37.67 → 38.90 (TP1 9.72 + runner 29.18)
- Trade cmi5ie3c: 59.35 → 40.09 (TP1 21.67 + runner 18.42)
- Trade cmi5a6jm: 19.79 → 13.72 (TP1 1.33 + runner 4.08 + 8.31)

v8 total P&L: $46.97 (matches Drift UI exactly)

Note: Each trade shows as 2 lines in Drift UI (TP1 + runner close),
so 5 trades = 10 lines in trade history.
2025-11-19 21:39:13 +01:00
..