Administrator
2025-05-13 8c4a961c7dc30e4988eec45b1cbfaa27a1531eca
trade/buy_radical/block_special_codes_manager.py
@@ -307,7 +307,10 @@
                # else:
                code_block_dict[b[1]][bb] += b[2]
        block_codes_dict = {}  # {"板块":[(代码,涨停次数)]}
        st_codes = HistoryKDatasUtils.get_st_codes()
        for code in code_block_dict:
            if code in st_codes:
                continue
            for b in code_block_dict[code]:
                if b not in block_codes_dict:
                    block_codes_dict[b] = []
@@ -316,10 +319,10 @@
        # 统计最近120天的涨停数据 {"代码": (涨停次数, 名称, 自由流通市值)}
        limit_up_info_map = self.__get_limit_up_info(min_day)
        fdatas = []
        for b in block_codes_dict:
            # if b != '人工智能':
            #     continue
        for b in block_codes_dict:
            # if b != '光伏':
            #     continue
            if b in constant.KPL_INVALID_BLOCKS:
                continue