[2026-05-18] 장중 재시작 시 15:10 결산 누락 수정

This commit is contained in:
2026-05-18 15:17:10 +09:00
parent d61c2b80e1
commit b7b3621c76
+9 -1
View File
@@ -520,7 +520,15 @@ async def run():
await bot.update_universe()
await bot.calc_targets()
await bot.trading_loop() # 바로 매매루프 진입
return
# 매매루프 종료 후 15:10 결산까지 대기
while True:
now = datetime.now().strftime("%H:%M")
if now == "15:10":
await bot.daily_summary()
return
if now > "15:10":
return
await asyncio.sleep(30)
# 08:30 이후~09:00 이전 시작 시 컨텍스트·유니버스 즉시 로드
if "08:30" <= now < "09:00":