From 93ec042ae730c8e4cad1562d7ee579941847397c Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 07 十一月 2024 18:37:44 +0800 Subject: [PATCH] 扫入整改 --- code_attribute/code_nature_analyse.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/code_attribute/code_nature_analyse.py b/code_attribute/code_nature_analyse.py index 269b26a..bd79947 100644 --- a/code_attribute/code_nature_analyse.py +++ b/code_attribute/code_nature_analyse.py @@ -404,7 +404,8 @@ # if max_price > float(limit_up_price): # return False rate = (float(limit_up_price) - min_price_info[1]["close"]) / min_price_info[1]["close"] - if rate >= 0.319: + THRESHOLD_RATE = 0.319*2 if tool.is_ge_code(code) else 0.319 + if rate >= THRESHOLD_RATE: return True, rate return False, rate -- Gitblit v1.8.0