Administrator
2023-07-20 e09eb2c535cdf96c95ef56089e020104bfd20105
bug修复
1个文件已修改
8 ■■■■ 已修改文件
third_data/kpl_block_util.py 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
third_data/kpl_block_util.py
@@ -41,10 +41,16 @@
        if has_continue_limit_up:
            return True, "板块有二板且3天内板块内无高于二板"
        has_2 = False
        has_3 = False
        for k in current_limit_up_datas:
            if k[5] == block:
                if k[4].find("连板") > -1 and int(k[4][:1]) > 2:
                    return True, f"板块有3板或以上({k[0]}-{k[4]})"
                    has_3 = True
                elif k[4].find("连板") > -1 and int(k[4][:1]) == 2:
                    has_2 = True
        if not has_2 and has_3:
            return True, f"板块中无2板,但有3板及以上"
    return False, ""