Show editable exit on live cards; price perp PnL via close-side book VWAP.
Align monitor profit-exit with the same book VWAP so card and auto-exit stay consistent. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4202,6 +4202,46 @@ html[data-theme="light"] .opt-be-dist-down {
|
||||
color: #e8ecf4;
|
||||
font-weight: 600;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-exit-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px 12px;
|
||||
margin: 0 0 10px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
background: rgba(110, 140, 255, 0.08);
|
||||
border: 1px solid rgba(110, 140, 255, 0.18);
|
||||
font-size: 0.78rem;
|
||||
color: #c5d0ee;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-exit-row strong {
|
||||
color: #e8ecf4;
|
||||
font-weight: 650;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-exit-row .hp-btn-exit {
|
||||
padding: 2px 8px;
|
||||
font-size: 0.72rem;
|
||||
min-height: 26px;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-exit-modal .hp-exit-mode-seg {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-exit-fields {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-exit-fields label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-exit-fields input {
|
||||
max-width: 220px;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-liq-warn,
|
||||
.hedge-plan-page-wrap .hp-liq-warn strong {
|
||||
color: #f5c542 !important;
|
||||
|
||||
Reference in New Issue
Block a user