From ca30d05ebfbb6d846cdd96a747da8b4443edc3b7 Mon Sep 17 00:00:00 2001 From: fish Date: Tue, 28 Jul 2026 09:59:43 +0800 Subject: [PATCH] =?UTF-8?q?PNL=E5=BC=B9=E7=AA=97=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E7=9B=88=E4=BA=8F=E6=96=87=E6=A1=88=E6=94=B9=E4=B8=BA=E6=94=B6?= =?UTF-8?q?=E7=9B=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- ft-app/app/templates/trades.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ft-app/app/templates/trades.html b/ft-app/app/templates/trades.html index 47b95d3..d98091b 100644 --- a/ft-app/app/templates/trades.html +++ b/ft-app/app/templates/trades.html @@ -377,7 +377,7 @@ function showPnlDrawer(title, direction, openPrice, closePrice, openFee, closeFe html += '开仓手续费-' + openFee.toFixed(2) + ''; html += '平仓手续费-' + closeFee.toFixed(2) + ''; document.getElementById('pnlTable').innerHTML = html; - document.getElementById('pnlResult').innerHTML = '盈亏 = ' + gross.toFixed(2) + ' - ' + openFee.toFixed(2) + ' - ' + closeFee.toFixed(2) + ' = ' + (result > 0 ? '+' : '') + result.toFixed(2) + ''; + document.getElementById('pnlResult').innerHTML = '收益 = ' + gross.toFixed(2) + ' - ' + openFee.toFixed(2) + ' - ' + closeFee.toFixed(2) + ' = ' + (result > 0 ? '+' : '') + result.toFixed(2) + ''; document.getElementById('pnlOverlay').style.display = 'block'; document.getElementById('pnlBox').style.display = 'block'; }