admin
2025-03-11 67f7c823c598057e63d5cf1014b2fdfceb133120
strategy/all_K_line.py
@@ -534,8 +534,7 @@
    # 计算90天内涨停天数
    for i in k_line_data:
        if 'attribute' in i and (
                i['attribute'] == 'one_line_limit_up' or i['attribute'] == 'limit_down_then_limit_up' or i[
            'attribute'] == 'limit_up_then_limit_down_then_limit_up' or i['attribute'] == 'limit_up'):
                i['attribute'] == 'one_line_limit_up' or i['attribute'] == 'limit_down_then_limit_up' or i['attribute'] == 'limit_up_then_limit_down_then_limit_up' or i['attribute'] == 'limit_up'):
            limit_up_day += 1
            # print(f"涨停提日期:{i['bob']}")
        # print(f"涨停天数----limit_up_day======{limit_up_day}")