third_data/code_plate_key_manager.py
@@ -426,6 +426,8 @@ # 获取 if k4: keys |= k4 keys = keys - constant.KPL_INVALID_BLOCKS log.logger_kpl_debug.info("{}最终关键词:{}", code, keys) # 涨停列表中匹配关键词,返回(板块:代码集合),代码集合中已经排除自身 @@ -505,7 +507,7 @@ def can_buy(cls, code, current_limit_up_datas, limit_up_record_datas, yesterday_current_limit_up_codes, before_blocks_dict): if constant.TEST: return True, "", cls.BLOCK_TYPE_NONE return True, cls.BLOCK_TYPE_NONE blocks, block_msg = cls.get_can_buy_block(code, current_limit_up_datas, limit_up_record_datas, yesterday_current_limit_up_codes,