fix: 修正 collector_loop 常量名拼写 _COLLECT_AFTER_TIME → COLLECT_AFTER_TIME

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Sakurasan
2026-08-10 19:38:24 +08:00
co-authored by Claude
parent aed3eea739
commit 14c31e3f06
+1 -1
View File
@@ -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)