From 89f860904270b6cdc20b5e7e90a7c12b5b2bf8e3 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 25 四月 2025 09:53:15 +0800 Subject: [PATCH] bug修复 --- code_attribute/code_nature_analyse.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code_attribute/code_nature_analyse.py b/code_attribute/code_nature_analyse.py index bd1cf8b..bedeea1 100644 --- a/code_attribute/code_nature_analyse.py +++ b/code_attribute/code_nature_analyse.py @@ -561,7 +561,7 @@ for item in items: limit_up_price = float(gpcode_manager.get_limit_up_price_by_preprice(code, item["pre_close"])) limit_down_price = float(gpcode_manager.get_limit_down_price_by_preprice(code, item["pre_close"])) - if abs(limit_up_price - item["high"]) < 0.001 or abs(limit_down_price - item["close"]): + if abs(limit_up_price - item["high"]) < 0.001 or abs(limit_down_price - item["close"]) < 0.001: # 鐐告澘 # 鎴栨定鍋� # 鎴栬�呰穼鍋� return True return False -- Gitblit v1.8.0