From fbac2e1e6ae16a4fff90a1ec8e7ac680c8bd459b Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 14 八月 2025 15:47:28 +0800 Subject: [PATCH] 昨日收盘价修改 --- code_attribute/code_data_util.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code_attribute/code_data_util.py b/code_attribute/code_data_util.py index b8fbd25..bfe478d 100644 --- a/code_attribute/code_data_util.py +++ b/code_attribute/code_data_util.py @@ -18,7 +18,7 @@ # 浠g爜瀵瑰簲鐨勪环鏍兼槸鍚︽纭� def is_same_code_with_price(code, price): # 鏄ㄦ棩鏀剁洏浠� - price_close = gpcode_manager.CodePrePriceManager.get_price_pre_cache(code) + price_close = gpcode_manager.CodePrePriceManager().get_price_pre_cache(code) max_price = tool.to_price(decimal.Decimal(str(price_close)) * decimal.Decimal(tool.get_limit_up_rate(code))) min_price = tool.to_price(decimal.Decimal(str(price_close)) * decimal.Decimal(tool.get_limit_down_rate(code))) if min_price <= decimal.Decimal(str(price)) <= max_price: -- Gitblit v1.8.0