From 244ef6f4ba17737f7698679fd842c78f8428af37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=87=E8=96=87=E5=AE=89?= Date: Thu, 22 Jan 2026 18:49:35 +0800 Subject: [PATCH] a --- frontend/src/components/TradeList.jsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/frontend/src/components/TradeList.jsx b/frontend/src/components/TradeList.jsx index d1db965..b010c3e 100644 --- a/frontend/src/components/TradeList.jsx +++ b/frontend/src/components/TradeList.jsx @@ -237,6 +237,24 @@ const TradeList = () => { + + { + stats && ( +
+
+
整体统计
+
总交易数:{stats.total_trades}
+
胜率:{stats.win_rate.toFixed(2)}%
+
总盈亏:{stats.total_pnl.toFixed(2)} USDT
+
平均盈亏:{stats.avg_pnl.toFixed(2)} USDT
+
平均持仓时长(分钟):{Number(stats.avg_duration_minutes || 0).toFixed(0)}
+
平仓原因(有意义交易):{stats.exit_reason_counts.join(' / ')}
+
平均盈利 / 平均亏损(期望 3:1):{stats.avg_win_loss_ratio.toFixed(2)} : 1
+
总交易量(名义):{stats.total_notional_usdt.toFixed(2)} USDT
+
+
+ ) + } {stats && (