feat: add timed position close (1h/2h/4h) for key levels and live orders

Program monitors open positions and market-closes at deadline; UI shows label and countdown on instance and hub boards.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-11 19:30:16 +08:00
parent 879ea5e228
commit 959593cdab
17 changed files with 1152 additions and 69 deletions
+11
View File
@@ -341,6 +341,17 @@ html[data-theme="light"] .pos-meta-item::after {
color: #b8c8d8 !important;
}
.pos-time-close-meta {
color: #8fc8ff;
}
.pos-time-close-meta .pos-time-close-cd {
font-variant-numeric: tabular-nums;
letter-spacing: 0.02em;
}
.key-time-close-wrap.is-disabled select,
.order-time-close-wrap.is-disabled select {
opacity: 0.55;
}
html[data-theme="light"] .pos-meta-on {
color: #006e9a !important;
}