feat: VI 배지 토스트에 종목 실제 VI 데이터 표시

VI 탭 시 그 종목의 실시간 VI 정보(적용구분·방향·발동가·발동등락률·당일
발동횟수·해제시각)를 설명과 함께 표시. window.__rtState.vi[code] 사용.
허브에 발동횟수(1490) 캡처 추가.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
hyowons
2026-06-11 11:08:27 +09:00
parent ae83deab9f
commit 70841548bc
2 changed files with 19 additions and 2 deletions
@@ -338,6 +338,7 @@ class RealtimeHub:
'trigger_pct': kc._to_float(vals.get('1489')),
'release_time': (vals.get('1224') or '').strip(),
'direction': (vals.get('9069') or '').strip(),
'count': kc._to_int(vals.get('1490')), # 당일 VI 발동 횟수
'ts': datetime.now(KST).isoformat(),
}