From 521058f11b090d704268c9b7d09ea38e99aecc75 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 09 四月 2024 23:46:26 +0800 Subject: [PATCH] 当前总卖额统计卖1信息 --- l2/l2_sell_manager.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/l2/l2_sell_manager.py b/l2/l2_sell_manager.py index de79081..e9774b9 100644 --- a/l2/l2_sell_manager.py +++ b/l2/l2_sell_manager.py @@ -63,12 +63,12 @@ RedisUtils.delete_async(self.__db, k) # 璁剧疆褰撳墠鐨勬�诲崠 - def set_current_total_sell_data(self, code, time_str, money, volume): + def set_current_total_sell_data(self, code, time_str, money, volume, sell_1_info): # 璁板綍鏃ュ織 - async_log_util.info(logger_l2_market_sell, f"{code}: {time_str}-{money}") + async_log_util.info(logger_l2_market_sell, f"{code}: {time_str}-{money} {sell_1_info}") 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), volume) + self.__current_total_sell_data_cache[code] = (time_str, round(money), volume, sell_1_info) def get_current_total_sell_data(self, code): return self.__current_total_sell_data_cache.get(code) -- Gitblit v1.8.0