Administrator
2023-12-13 077a11cb06917e25c307705df81afc02da3b9641
日志调整
1个文件已修改
5 ■■■■■ 已修改文件
l2/l2_data_manager_new.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/l2_data_manager_new.py
@@ -965,13 +965,12 @@
    def can_buy_first(cls, code, limit_up_price):
        # 判断板块
        can_buy_result = cls.__get_can_buy_block(code)
        l2_log.debug(code, "获取到的板块信息:{}", can_buy_result)
        if can_buy_result is None:
            return False, True, "尚未获取到板块信息"
        if not can_buy_result[0] and can_buy_result[1]:
            # 独苗
            return False, True, "独苗不下单"
        l2_log.debug(code, "获取到的板块信息:{}", can_buy_result)
            return False, True, f"独苗不下单({can_buy_result[4]})"
        # -------量的约束--------
        k_format = code_nature_analyse.CodeNatureRecordManager().get_k_format_cache(code)