huaxin_client/l2_client.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
huaxin_client/l2_data_manager.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
huaxin_client/l2_client.py
@@ -202,6 +202,7 @@ if pRspInfo['ErrorID'] == 0: print("----L2行情登录成功----") self.is_login = True logger_system.info(f"L2行情登录成功") # 初始设置值 threading.Thread( target=lambda: self.__process_codes_data(self.__get_latest_datas(), from_cache=True, delay=6.0), huaxin_client/l2_data_manager.py
@@ -64,7 +64,7 @@ if item[2] >= filter_condition[0][0]: return item # 1手的买单满足价格 if item[2] == 100: # and abs(filter_condition[0][2] - item[1]) < 0.001: if item[2] == 100 and abs(filter_condition[0][2] - item[1]) < 0.001: return item # 买量 if item[2] == filter_condition[0][3]: