From 36367e32a8c00cbbacb2cc7f7a09adde3e0cfaa9 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 11 十一月 2024 18:37:32 +0800 Subject: [PATCH] 扫过的单可继续扫/扫了未成交遵循顺位机制/唯一涨停原因的高位板要计算其身位 --- code_attribute/limit_up_time_manager.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/code_attribute/limit_up_time_manager.py b/code_attribute/limit_up_time_manager.py index d8a02af..d1d4879 100644 --- a/code_attribute/limit_up_time_manager.py +++ b/code_attribute/limit_up_time_manager.py @@ -37,9 +37,8 @@ if not cache_result[0] or cache_result[1] is None: global_util.limit_up_time[code] = time tool.CodeDataCacheUtil.set_cache(self.__limit_up_time_cache, code, time) - # TODO 娴嬭瘯 - # RedisUtils.setex_async( - # self.__db, "limit_up_time-{}".format(code), tool.get_expire(), time) + RedisUtils.setex_async( + self.__db, "limit_up_time-{}".format(code), tool.get_expire(), time) def get_limit_up_time(self, code): time = global_util.limit_up_time.get(code) -- Gitblit v1.8.0