diff --git a/backend/main.py b/backend/main.py index 9737720..7baa144 100644 --- a/backend/main.py +++ b/backend/main.py @@ -778,6 +778,7 @@ async def paper_stats(user: dict = Depends(get_current_user)): "win_loss_ratio": round(win_loss_ratio, 2), "mdd": round(mdd, 2), "sharpe": round(sharpe, 2), + "total_pnl": round(sum(r["pnl_r"] for r in rows), 2), "long_win_rate": round(long_wr, 1), "long_count": len(longs), "short_win_rate": round(short_wr, 1),