Support dual breakout targets for options-options hedges.

Replace single S* with up/down targets across UI, preview, persist, monitor, and alerts so ranging breakouts can close the winner either way.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-14 14:32:06 +08:00
parent f6ef06f659
commit 8ecc70a61c
13 changed files with 233 additions and 53 deletions
+16
View File
@@ -3403,6 +3403,22 @@ html[data-theme="light"] .opt-be-dist-down {
background: rgba(255, 255, 255, 0.03);
font-size: 0.78rem;
}
.hedge-plan-page-wrap .hp-target-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
margin: 6px 0;
}
.hedge-plan-page-wrap .hp-target-row label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.8rem;
}
.hedge-plan-page-wrap .hp-target-row input {
width: 110px;
}
.hedge-plan-page-wrap .hp-contracts-cell {
max-width: 220px;
overflow: hidden;