From 4997941b53443141294d4b42f0b23597f4c236e9 Mon Sep 17 00:00:00 2001 From: hmo Date: Fri, 14 Aug 2026 02:54:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20daily=5Fkline=20sz=E5=88=86=E6=89=B9(sz?= =?UTF-8?q?=5Fa=200=E5=BC=80=E5=A4=B41349=E5=8F=AA/sz=5Fb=203=E5=BC=80?= =?UTF-8?q?=E5=A4=B4831=E5=8F=AA,=E5=90=84<500s=E5=AE=89=E5=85=A8)?= =?UTF-8?q?=E2=80=94=E2=80=94=E5=8F=82=E8=80=83news=5Fcollector=E5=88=86?= =?UTF-8?q?=E6=89=B9=E6=A8=A1=E5=BC=8F,=E6=B6=88=E9=99=A4sz=E5=8D=95?= =?UTF-8?q?=E6=89=B92180=E5=8F=AA=E8=B6=85=E6=97=B6(961s>600s)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/daily_kline_collector.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deploy/profile-scripts/daily_kline_collector.py b/deploy/profile-scripts/daily_kline_collector.py index 8f3eff3b..72348b89 100644 --- a/deploy/profile-scripts/daily_kline_collector.py +++ b/deploy/profile-scripts/daily_kline_collector.py @@ -50,8 +50,14 @@ def get_codes(conn, prefix): if prefix == "sh": # 6/9/5 开头 → 上海(fetch_tx_klines 自动加 sh 前缀) return sorted([c for c in codes if c[0] in ("5", "6", "9")]) + elif prefix == "sz_a": + # 深圳前半批(0 开头)——2026-08-13 分批:sz 2180只超时,分 sz_a/sz_b + return sorted([c for c in codes if c[0] == "0"]) + elif prefix == "sz_b": + # 深圳后半批(3 开头) + return sorted([c for c in codes if c[0] == "3"]) else: - # 0/3 开头 → 深圳 + # 0/3 开头 → 深圳(全部,兼容旧调用) return sorted([c for c in codes if c[0] in ("0", "3")])