From 500e2f3db6ce9ab2f6f06e7b3b23ce15f71db59d Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 03 八月 2023 11:19:21 +0800 Subject: [PATCH] redis封装 --- trade/current_price_process_manager.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trade/current_price_process_manager.py b/trade/current_price_process_manager.py index 69ab4ec..35f163d 100644 --- a/trade/current_price_process_manager.py +++ b/trade/current_price_process_manager.py @@ -43,7 +43,7 @@ code, price = d["code"], float(d["price"]) gpcode_manager.set_price(code, price) # 鑾峰彇鏀剁洏浠� - pricePre = gpcode_manager.get_price_pre_cache(code) + pricePre = gpcode_manager.CodePrePriceManager.get_price_pre_cache(code) if pricePre is not None: rate = round((price - pricePre) * 100 / pricePre, 2) if first_codes and code in first_codes: -- Gitblit v1.8.0