From d87bb0020818f85e0e10e5373f6c8b3d0b1a1d9c Mon Sep 17 00:00:00 2001 From: fish Date: Sun, 26 Jul 2026 14:10:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E5=B9=B3=E4=BB=93=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8C=81=E4=BB=93=E5=A4=A9=E6=95=B0?= 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/options.html | 3 ++- ft-app/app/templates/trades.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ft-app/app/templates/options.html b/ft-app/app/templates/options.html index f61ca83..1f8efad 100644 --- a/ft-app/app/templates/options.html +++ b/ft-app/app/templates/options.html @@ -165,7 +165,7 @@
已平仓 · {{ closed_trades|length }} 笔
- + {% for t in closed_trades %} @@ -187,6 +187,7 @@ + diff --git a/ft-app/app/templates/trades.html b/ft-app/app/templates/trades.html index b411afd..509531f 100644 --- a/ft-app/app/templates/trades.html +++ b/ft-app/app/templates/trades.html @@ -145,7 +145,7 @@
已平仓 · {{ closed_trades|length }} 笔
品种合约类型买卖行权价开仓平仓权利金平仓价开仓费平仓费盈亏操作
品种合约类型买卖行权价开仓平仓持仓权利金平仓价开仓费平仓费盈亏操作
{{ t.product_code }}{{ t.strike_price }} {{ t.open_date }} {{ weekdays[t.open_date.weekday()] }} {{ t.close_date }} {{ weekdays[t.close_date.weekday()] }}{{ (t.close_date - t.open_date).days }}天 {{ t.open_price }} {{ t.close_price }} {{ t.open_fee or 0 }}
- + {% for t in closed_trades %} @@ -159,6 +159,7 @@ +
品种合约方向开仓平仓开仓价平仓价开仓费平仓费盈亏操作
品种合约方向开仓平仓持仓开仓价平仓价开仓费平仓费盈亏操作
{{ t.product_code }} {{ t.open_date }} {{ weekdays[t.open_date.weekday()] }} {{ t.close_date }} {{ weekdays[t.close_date.weekday()] }}{{ (t.close_date - t.open_date).days }}天 {{ t.open_price }} {{ t.close_price }} {{ t.open_fee or 0 }}