Add OKX options expiry and close breakeven to hub monitor and dashboard.

Expose bePx-based expiry balance and mark-to-close breakeven on positions so monitor and dashboard can show both labels per contract.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 16:10:03 +08:00
parent 7bbb5663c9
commit 3570a6900e
8 changed files with 269 additions and 9 deletions
+18
View File
@@ -332,6 +332,24 @@ body.hub-page-dashboard .page#page-dashboard {
border-top: 1px dashed color-mix(in srgb, var(--dash-card-border) 80%, transparent);
}
.dash-options-block {
margin-top: 8px;
}
.dash-options-block .dash-ac-section-label {
margin-bottom: 4px;
}
.dash-options-table-wrap {
overflow-x: auto;
}
.dash-options-table th,
.dash-options-table td {
font-size: 0.68rem;
white-space: nowrap;
}
.dash-ac-metrics-3col .dash-ac-metric {
text-align: center;
}