diff --git a/frontend/paper-trading.html b/frontend/paper-trading.html index 333bf4a..68fbf56 100644 --- a/frontend/paper-trading.html +++ b/frontend/paper-trading.html @@ -1118,9 +1118,6 @@ - @@ -1296,14 +1293,6 @@ 胜率 {{ stats.win_rate.toFixed(1) }}% -
- 平均盈利 - ${{ stats.average_win.toFixed(2) }} -
-
- 平均亏损 - ${{ stats.average_loss.toFixed(2) }} -
@@ -1311,18 +1300,6 @@ 盈亏指标
-
- 总盈亏 - - ${{ stats.total_pnl.toFixed(2) }} - -
-
- 平均盈亏 - - ${{ stats.average_pnl.toFixed(2) }} - -
盈亏比 {{ stats.profit_factor === Infinity ? '∞' : stats.profit_factor.toFixed(2) }} @@ -1348,10 +1325,35 @@ {{ stats.max_drawdown ? stats.max_drawdown.toFixed(2) : '0.00' }}%
+
+ +
+
+ 收益统计 +
+
- 回撤金额 - - {{ stats.max_drawdown_amount ? (stats.max_drawdown_amount >= 0 ? '+$' : '-$') + Math.abs(stats.max_drawdown_amount).toFixed(2) : '$0.00' }} + 累计收益率 + + {{ totalReturn >= 0 ? '+' : '' }}{{ totalReturn.toFixed(2) }}% + +
+
+ 盈利天数 + {{ profitableDays }} +
+
+ 亏损天数 + {{ losingDays }} +
+
+ 日胜率 + {{ dailyWinRate.toFixed(1) }}% +
+
+ 平均日收益 + + {{ avgDailyReturn >= 0 ? '+' : '' }}{{ avgDailyReturn.toFixed(2) }}%
@@ -1375,12 +1377,6 @@ 胜率 {{ data.win_rate.toFixed(1) }}%
-
- 总盈亏 - - ${{ data.total_pnl.toFixed(2) }} - -
@@ -1400,53 +1396,14 @@ 胜率 {{ data.win_rate.toFixed(1) }}% -
- 总盈亏 - - ${{ data.total_pnl.toFixed(2) }} - -
-
- -
-
-
累计收益率
-
- {{ totalReturn >= 0 ? '+' : '' }}{{ totalReturn.toFixed(2) }}% -
-
-
-
累计收益额
-
- {{ totalReturnAmount >= 0 ? '+' : '' }}${{ totalReturnAmount.toFixed(2) }} -
-
-
-
盈利天数
-
{{ profitableDays }}
-
-
-
亏损天数
-
{{ losingDays }}
-
-
-
胜率(按天)
-
{{ dailyWinRate.toFixed(1) }}%
-
-
-
平均日收益
-
- {{ avgDailyReturn >= 0 ? '+' : '' }}{{ avgDailyReturn.toFixed(2) }}% -
-
-
- +
+

收益率分析

@@ -1480,8 +1437,6 @@ 日期 收益率 - 收益额 - 余额 交易数 盈利 亏损 @@ -1493,10 +1448,6 @@ {{ day.return_percent >= 0 ? '+' : '' }}{{ day.return_percent }}% - - {{ day.return_amount >= 0 ? '+' : '' }}${{ day.return_amount.toFixed(2) }} - - ${{ day.balance.toFixed(2) }} {{ day.trades_count }} {{ day.winning_trades }} {{ day.losing_trades }}