From b51b2ae184fad5aaf37a78903987e064f192d430 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 26 五月 2025 11:35:20 +0800 Subject: [PATCH] 大单解析修改 --- code_attribute/code_data_util.py | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/code_attribute/code_data_util.py b/code_attribute/code_data_util.py index f21e00e..b8fbd25 100644 --- a/code_attribute/code_data_util.py +++ b/code_attribute/code_data_util.py @@ -4,14 +4,12 @@ # 鑲$エ浠g爜鐩稿叧鐨勫弬鏁� import decimal -import time from code_attribute import gpcode_manager -from db import mysql_data_delegate as mysql_data, redis_manager_delegate as redis_manager +from db import redis_manager_delegate as redis_manager from db.mysql_data_delegate import Mysqldb from db.redis_manager_delegate import RedisUtils from utils import tool -from utils.tool import async_call __db = 0 _redisManager = redis_manager.RedisManager(0) @@ -19,8 +17,6 @@ # 浠g爜瀵瑰簲鐨勪环鏍兼槸鍚︽纭� def is_same_code_with_price(code, price): - if code == '600066': - print('杩涘叆璋冭瘯') # 鏄ㄦ棩鏀剁洏浠� 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))) -- Gitblit v1.8.0