From 14c31e3f06e898a5f4181758508c23a34fd0598a Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Mon, 10 Aug 2026 19:38:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20collector=5Floop=20?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E5=90=8D=E6=8B=BC=E5=86=99=20=5FCOLLECT=5FAF?= =?UTF-8?q?TER=5FTIME=20=E2=86=92=20COLLECT=5FAFTER=5FTIME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- backend/services/daily_collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/daily_collector.py b/backend/services/daily_collector.py index 888afb5..f0d346c 100644 --- a/backend/services/daily_collector.py +++ b/backend/services/daily_collector.py @@ -106,7 +106,7 @@ async def collector_loop(stop: Optional[asyncio.Event] = None) -> None: while True: try: now = datetime.now(_CST) - if _is_trading_day(now) and now.time() >= _COLLECT_AFTER_TIME: + if _is_trading_day(now) and now.time() >= COLLECT_AFTER_TIME: trade_date = now.strftime("%Y-%m-%d") if not _has_collected(trade_date): await collect_daily(trade_date)