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: