auto: 일일 백업 2026-06-25 02:00
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -5415,7 +5415,7 @@ def _render_adr_summary_block(rows: list[dict] | None) -> str:
|
||||
sub_html = '<div class="adr-sub muted small">미수신</div>'
|
||||
elif full:
|
||||
adr_str = f'{ma:.1f}'
|
||||
sub_html = '<div class="adr-sub muted small">20일 이평</div>'
|
||||
sub_html = ''
|
||||
else:
|
||||
# 누적 < 20일 — 숫자는 보여주되 과열/침체 판정은 보류(짧은 윈도우는 임계치 해석 부정확).
|
||||
adr_str = f'{ma:.1f}'
|
||||
@@ -5716,7 +5716,7 @@ def _render_adr_trend_card(days: int = ADR_TREND_DAYS) -> str:
|
||||
f'매 영업일 21:00 raw ADR 적재, {ADR_MA_WINDOW}일 채워지면 이평선 표시')
|
||||
return (
|
||||
'<div class="market-card adr-trend-card">'
|
||||
f'<div class="market-card-title">ADR 추세 <span class="market-card-sub">{ADR_MA_WINDOW}일 이평 · '
|
||||
f'<div class="market-card-title">ADR 추세 <span class="market-card-sub">'
|
||||
+ html.escape(sel_label) + '</span></div>'
|
||||
+ summary_block
|
||||
+ f'<div class="market-section-hint">{html.escape(hint)}</div>'
|
||||
@@ -5853,10 +5853,10 @@ def _render_adr_trend_card(days: int = ADR_TREND_DAYS) -> str:
|
||||
accum_note = f' · 누적 {raw_count_max}/{ADR_MA_WINDOW}일' if raw_count_max < ADR_MA_WINDOW else ''
|
||||
return (
|
||||
'<div class="market-card adr-trend-card">'
|
||||
f'<div class="market-card-title">ADR 추세 <span class="market-card-sub">{ADR_MA_WINDOW}일 이평 · '
|
||||
f'<div class="market-card-title">ADR 추세 <span class="market-card-sub">'
|
||||
+ html.escape(sel_label) + accum_note + '</span></div>'
|
||||
+ summary_block
|
||||
+ f'<div class="market-section-hint">{ADR_MA_WINDOW}일 이동평균 ADR · 회색점선=100(균형) · 파란점선=75(침체) · 빨간점선=125(과열) · *=오늘(라이브 포함)</div>'
|
||||
+ f'<div class="market-section-hint">회색점선=100(균형) · 파란점선=75(침체) · 빨간점선=125(과열) · *=오늘(라이브 포함)</div>'
|
||||
+ _render_adr_trend_controls(days)
|
||||
+ legend_html
|
||||
+ chart_row
|
||||
|
||||
Reference in New Issue
Block a user