feat(sim): 정렬 토글(오름/내림)·40일선 1등전략(v300) 복구·보유배지 📦
- sim_web 비교탭 정렬: 손익/평가/보유/거래순 클릭마다 오름↔내림 토글 (기본 내림, 평가순만 오름), 활성버튼 화살표 표시 - 40일선 1등 전략 v62 파라미터 복구 → v300 (새 계좌, 220개) - behive_web 보유 배지: '보유 xx 주' → '📦 xx' (폰트 8px, sim웹과 통일) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1907,7 +1907,7 @@ def _render_row(c: dict, source: str = 'watchlist') -> str:
|
||||
|
||||
if mode == 'held':
|
||||
qty = c.get('held_qty', 0)
|
||||
status_cell = f'<span class="badge held">보유 {qty:,} 주</span>'
|
||||
status_cell = f'<span class="badge held">📦 {qty:,}</span>'
|
||||
accounts = c.get('held_accounts') or []
|
||||
avg = c.get('held_avg_price', 0)
|
||||
held_row = (
|
||||
@@ -2767,7 +2767,7 @@ def _render_holding_row(r: dict, total_value: int, show_day_change: bool = False
|
||||
<summary>
|
||||
<div class="left">
|
||||
<div class="line1 line1-held">{_buy_rank_badge(buy_amount)}<span class="{stock_cls}">{stock}</span><span class="code acct-mini">{acct_label}</span></div>
|
||||
<div class="line2"><span class="badge held">보유 {qty:,} 주</span>{_pending_badges_html(r)}<span class="muted small wt-chip"><span class="rt-weight">{weight:.2f}</span>%</span>{star}</div>
|
||||
<div class="line2"><span class="badge held">📦 {qty:,}</span>{_pending_badges_html(r)}<span class="muted small wt-chip"><span class="rt-weight">{weight:.2f}</span>%</span>{star}</div>
|
||||
{summary_journal_html}
|
||||
</div>
|
||||
<div class="right">
|
||||
@@ -4298,7 +4298,7 @@ details.row + .section-label { margin-top: 14px; padding-top: 24px; border-top-c
|
||||
.btn-tag-quick.active { color: #ff6b78; background: rgba(255,77,94,0.14); border-color: rgba(255,77,94,0.50); }
|
||||
.btn-tag-quick.active:hover { background: rgba(255,77,94,0.22); }
|
||||
.badge.watching { background: #1a1e2a; color: #7a8090; }
|
||||
.badge.held { background: #2a1820; color: #ff8a96; border: 1px solid rgba(255,77,94,0.3); }
|
||||
.badge.held { background: #2a1820; color: #ff8a96; border: 1px solid rgba(255,77,94,0.3); font-size: 8px; padding: 1px 5px; }
|
||||
.badge.pending-buy { background: #2a1822; color: #ff9fb3; border: 1px solid rgba(255,140,170,0.32); font-weight: 600; padding: 2px 6px; letter-spacing: 0; }
|
||||
.badge.pending-sell { background: #182030; color: #7fb8ff; border: 1px solid rgba(122,180,255,0.32); font-weight: 600; padding: 2px 6px; letter-spacing: 0; }
|
||||
dl.pending-detail { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(255,255,255,0.08); grid-template-columns: 92px minmax(0, 1fr); }
|
||||
|
||||
Reference in New Issue
Block a user