Administrator
2023-12-18 4f768a335ab9f61e8b63d1e7bba88ea00a6c4315
code_attribute/code_nature_analyse.py
@@ -350,7 +350,7 @@
# 在最近几天内股价是否长得太高
def is_price_too_high_in_days(record_datas, limit_up_price, day_count=6):
def is_price_too_high_in_days(record_datas, limit_up_price, day_count=5):
    datas = copy.deepcopy(record_datas)
    datas.sort(key=lambda x: x["bob"])
    datas = datas[0 - day_count:]