수정본

This commit is contained in:
2026-02-22 17:23:20 +09:00
parent b147498c31
commit 32e2263f0a
109 changed files with 13979 additions and 4580 deletions

View File

@@ -1,6 +1,6 @@
from typing import Dict, List
from fastapi import WebSocket
import json
from app.core.json_helpers import _dumps
import logging
logger = logging.getLogger(__name__)
@@ -47,7 +47,7 @@ class WebSocketManager:
async def broadcast_json(self, data: dict):
"""JSON 데이터를 모든 클라이언트에게 브로드캐스트"""
message = json.dumps(data)
message = _dumps(data)
await self.broadcast(message)
async def send_market_update(self, stock_code: str, data: dict):