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 && (