From 2b79c8210ba1d93fc960b29065263696f4f262a8 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 19 十月 2023 16:40:52 +0800 Subject: [PATCH] L1订阅代码在开盘之前的5分钟加入涨停代码 --- utils/tool.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/utils/tool.py b/utils/tool.py index ece202b..e23600c 100644 --- a/utils/tool.py +++ b/utils/tool.py @@ -247,6 +247,13 @@ return False, None +# 鏄惁涓轰富鏉夸唬鐮� +def is_shsz_code(code): + if code.find("00") == 0 or code.find("60") == 0: + return True + return False + + def get_thread_id(): try: if constant.is_windows(): -- Gitblit v1.8.0