Add options index target monitors that auto limit-close on hit.

Position and order forms can arm a target; right-side and hub panels show active monitors; expiry remains the stop with no separate SL.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-15 15:27:46 +08:00
parent 8d2da921ee
commit d6823a2903
13 changed files with 1011 additions and 18 deletions
+32
View File
@@ -8772,6 +8772,38 @@ html[data-theme="light"] .hub-monitor-options .hub-monitor-block-label {
margin-top: 14px;
}
.hub-opt-target-list {
display: flex;
flex-direction: column;
gap: 6px;
margin: 0 0 10px;
}
.hub-opt-target-item {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
font-size: 12px;
color: var(--muted, #9aa8c7);
}
.hub-opt-target-item code {
font-size: 11px;
color: #dbe6ff;
}
.hub-opt-pos-card .opt-target-row--ro {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid rgba(67, 82, 118, 0.4);
font-size: 12px;
}
.hub-options-summary {
display: flex;
flex-wrap: wrap;