auto: 일일 백업 2026-08-07 02:00
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -838,6 +838,11 @@ def _parse_watchlist_rows(resp: dict) -> dict[str, dict]:
|
||||
'high': abs(_to_int(row.get('high_pric') or '0')),
|
||||
'low': abs(_to_int(row.get('low_pric') or '0')),
|
||||
'volume': _to_int(row.get('trde_qty') or '0'),
|
||||
# 거래소가 계산한 가격제한폭. 기준가(전일종가)로 정해져 장중 불변.
|
||||
# 제한폭은 기준가의 호가단위로 절사한 뒤 ±하는 규칙이라 직접 계산하면
|
||||
# ETF·가격대별 호가단위 표를 재현해야 해 틀릴 여지가 있다 → 응답값 그대로 쓴다.
|
||||
'upper_limit': abs(_to_int(row.get('upl_pric') or '0')),
|
||||
'lower_limit': abs(_to_int(row.get('lst_pric') or '0')),
|
||||
}
|
||||
return out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user