From 3f8499a0b83304132facd8758acc1a99a1008c69 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 23 十一月 2023 19:14:26 +0800 Subject: [PATCH] bug修复 --- l2/l2_sell_manager.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l2/l2_sell_manager.py b/l2/l2_sell_manager.py index 2f7b1b6..7ff9762 100644 --- a/l2/l2_sell_manager.py +++ b/l2/l2_sell_manager.py @@ -66,12 +66,12 @@ RedisUtils.delete_async(self.__db, k) # 璁剧疆褰撳墠鐨勬�诲崠 - def set_current_total_sell_data(self, code, time_str, money): + def set_current_total_sell_data(self, code, time_str, money, volume): # 璁板綍鏃ュ織 async_log_util.info(logger_l2_market_sell, f"{code}: {time_str}-{money}") if code in self.__current_total_sell_data_cache: self.__last_total_sell_data_cache[code] = self.__current_total_sell_data_cache.get(code) - self.__current_total_sell_data_cache[code] = (time_str, round(money)) + self.__current_total_sell_data_cache[code] = (time_str, round(money), volume) def get_current_total_sell_data(self, code): return self.__current_total_sell_data_cache.get(code) -- Gitblit v1.8.0