Add pre-buy expiry breakeven columns to options chain table.

Show estimated expiry balance and distance from index in the chain list and order panel using ask price before opening a position.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 16:21:22 +08:00
parent 3570a6900e
commit 99f13817f8
6 changed files with 96 additions and 8 deletions
+12
View File
@@ -2588,6 +2588,18 @@ html[data-theme="light"] .settings-side-export-label {
.options-page-wrap .options-strike-table code {
font-size: 0.66rem;
}
.opt-be-dist-up {
color: #5ee89a;
}
.opt-be-dist-down {
color: #ff8a8a;
}
html[data-theme="light"] .opt-be-dist-up {
color: #0d7a45;
}
html[data-theme="light"] .opt-be-dist-down {
color: #c62828;
}
.options-chain-toolbar .btn-secondary.active,
.opt-uly-btn.active,
.opt-type-btn.active {