| | |
| | | import constant |
| | | from db import redis_manager_delegate as redis_manager |
| | | from db.redis_manager_delegate import RedisUtils |
| | | from log_module.log import logger_plate_code_plates |
| | | from third_data import kpl_util |
| | | from third_data.third_blocks_manager import BlockMapManager |
| | | |
| | | |
| | | from utils import tool, global_util |
| | | from utils.kpl_data_db_util import KPLLimitUpDataUtil |
| | |
| | | from utils.tool import singleton |
| | | |
| | | open_limit_up_code_dict_for_radical_buy = None |
| | | |
| | | |
| | | # 新题材 |
| | | new_blocks = set() |
| | |
| | | print("") |
| | | block_infos = kpl_block_dict.get(code) |
| | | cls.__radical_buy_reasons_dict[code] = cls.__compute_limit_up_reasons(code, block_infos) |
| | | # 将板块保存 |
| | | logger_plate_code_plates.info(f"{cls.__radical_buy_reasons_dict}") |
| | | |
| | | @classmethod |
| | | def __compute_limit_up_reasons(cls, code, block_infos): |