매매전략 수정중

This commit is contained in:
2026-03-06 20:46:08 +09:00
parent 2b9a90a03f
commit 12460b7c9e
15 changed files with 752 additions and 105 deletions

View File

@@ -1,3 +1,11 @@
"""
WebSocket 연결 관리 모듈
- 클라이언트 연결/해제 및 인증 관리
- 종목별 구독(subscribe/unsubscribe/set_subscriptions) 관리
- 개별 클라이언트, 전체, 종목 구독자 타겟 메시지 전송
- 싱글톤 websocket_manager 인스턴스 제공 (main.py 에서 import)
"""
from typing import Dict, Set
from fastapi import WebSocket
from app.core.json_helpers import _dumps