Split live positions from hedge plans; show option+perp net PnL after fees.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 16:32:13 +08:00
parent 5c95625817
commit 0b3dabbbd9
7 changed files with 446 additions and 12 deletions
@@ -249,7 +249,6 @@
'<div class="pos-card-head">' +
'<div class="pos-card-symbol"><strong>' + (p.inst_id || "") + "</strong>" +
'<span class="pos-side-badge ' + sideCls + '">' + optTypeLabel(p.opt_type) + "</span>" +
sourceBadgeHtml(p) +
"</div>" +
headActions +
"</div>" +