From 0ee8e034b0d855727cf9ef8a308cc04abc5dec6e Mon Sep 17 00:00:00 2001 From: jongjae Date: Tue, 19 May 2026 16:42:35 +0900 Subject: [PATCH] =?UTF-8?q?[2026-05-19]=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=E2=80=94=2014:30=20=EC=9D=B4=ED=9B=84=20=EC=9E=AC?= =?UTF-8?q?=EC=8B=9C=EC=9E=91=20=EC=8B=9C=20=EA=B0=95=EC=A0=9C=EC=B2=AD?= =?UTF-8?q?=EC=82=B0=20=EB=88=84=EB=9D=BD=C2=B714:00~14:50=20SL=20?= =?UTF-8?q?=EB=AA=A8=EB=8B=88=ED=84=B0=EB=A7=81=20=EC=A4=91=EB=8B=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index d629de0..6775851 100644 --- a/app/main.py +++ b/app/main.py @@ -325,8 +325,9 @@ class StockBot: self.running = False break - # 14:00 이후 신규 진입 중단 + # 14:00 이후 신규 진입 중단 (청산은 계속) if now_str > "14:00": + await self.check_exits() await asyncio.sleep(1) continue @@ -599,7 +600,7 @@ async def run(): await bot.initialize() now = datetime.now().strftime("%H:%M") - if "09:00" <= now <= "14:30": + if "09:00" <= now < "15:00": logger.info("장 중 재시작 감지 → AI 컨텍스트 로드 + 유니버스/목표가 즉시 계산") ctx = bot.strategy.load_ai_context() await notify_ai_result(