Pin market watch to held option strike while a position is open.

Stop falling back to ATM quotes for unrealized/close PnL after ATM drifts or restart.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-26 18:37:20 +08:00
parent 4994aaab16
commit 38ffbf728b
5 changed files with 184 additions and 31 deletions
+2 -1
View File
@@ -415,7 +415,8 @@ export default function PlanPage() {
</div>
<div className="card">
<h3 className="plan-panel-title">
ATM {snap?.pair ? `@ ${snap.pair.strike}` : ""}
{open ? "持仓期权" : "期权 ATM"}
{snap?.pair ? ` @ ${snap.pair.strike}` : ""}
</h3>
<div className="kv">
<span>Call /</span>