fix复盘交易记录盈亏与数据统计同口径,并展示期权手续费。

列表盈亏改为币盈亏×卖回价;手续费仅计期权开/平,不含现货。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-13 09:29:40 +08:00
parent fe08fa5270
commit bdc9eb532a
5 changed files with 65 additions and 37 deletions
@@ -77,7 +77,7 @@
.or-list-loading{opacity:.55;pointer-events:none;transition:opacity .12s ease}
.or-trades-table-wrap,.or-reviewed-table-wrap{min-height:9.5rem;overflow-x:auto}
.or-reviewed-table{min-width:1180px}
.or-trades-table{min-width:960px}
.or-trades-table{min-width:1080px}
.or-kpi-row{
display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
gap:8px;margin-bottom:12px;
@@ -241,6 +241,7 @@
<th>初始权利金</th>
<th>盈亏</th>
<th>盈利率</th>
<th>手续费</th>
<th>开仓时间</th>
<th>平仓时间</th>
<th>持有</th>
@@ -248,7 +249,7 @@
</tr>
</thead>
<tbody id="or-trades-tbody">
<tr><td colspan="9" class="muted">加载中…</td></tr>
<tr><td colspan="10" class="muted">加载中…</td></tr>
</tbody>
</table>
</div>
@@ -285,6 +286,7 @@
autocomplete="off" inputmode="decimal" data-lpignore="true" data-1p-ignore="true" data-form-type="other">
<input type="text" id="or-f-initial-prem" name="or_f_initial_prem" placeholder="初始权利金(U)" readonly autocomplete="off">
<input type="text" id="or-f-profit-rate" name="or_f_profit_rate" placeholder="盈利率" readonly autocomplete="off">
<input type="text" id="or-f-option-fee" name="or_f_option_fee" placeholder="期权手续费(U)" readonly autocomplete="off" title="仅期权开/平手续费,不含现货">
<input type="text" id="or-f-hold" name="or_f_hold" placeholder="持有时长" readonly autocomplete="off">
</div>
<div class="or-form-grid2">