Administrator
2025-08-12 1e7ebebe120489ef666dec57f80b228623ffecb9
bug修复
3个文件已修改
7 ■■■■■ 已修改文件
code_attribute/today_max_price_manager.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
servers/huaxin_trade_server.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
third_data/kpl_app_util_of_tcp.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
code_attribute/today_max_price_manager.py
@@ -49,7 +49,7 @@
        tool.CodeDataCacheUtil.set_cache(self.__max_price_info_cache, code, price_info)
        RedisUtils.setex_async(
            self.__db, "max_price_info-{}".format(code), tool.get_expire(), json.dumps(price_info))
        async_log_util.info(logger_debug, f"最大现价-{price_info}")
        async_log_util.info(logger_debug, f"最大现价:{code}-{price_info}")
    def get_price_info_cache(self, code):
        return self.__max_price_info_cache.get(code)
servers/huaxin_trade_server.py
@@ -406,7 +406,7 @@
            # 09:25之后才开始记录
            if datas and tool.get_now_time_str() > '09:25:00':
                for d in datas:
                    MaxPriceInfoManager().set_price_info(d[0], price=d[1], time=l2_huaxin_util.convert_time(d[9]))
                    MaxPriceInfoManager().set_price_info(d[0], price=d[1], time=d[9])
        except Exception as e:
            logger_debug.exception(e)
third_data/kpl_app_util_of_tcp.py
@@ -149,4 +149,5 @@
if __name__ == "__main__":
    result = get_limit_up_list()
    print(len(result["list"]))
    result_list = result["list"]
    print(len(result_list))