From b3cbf38bc431f911b24550db19c68bba2872b09b Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 27 十一月 2024 14:18:36 +0800 Subject: [PATCH] 净流入大单计算改变 --- third_data/custom_block_in_money_manager.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/third_data/custom_block_in_money_manager.py b/third_data/custom_block_in_money_manager.py index 261897a..ef37049 100644 --- a/third_data/custom_block_in_money_manager.py +++ b/third_data/custom_block_in_money_manager.py @@ -33,6 +33,10 @@ code = item[0] if code not in self.__code_money_dict: self.__code_money_dict[code] = 0 + if not tool.is_ge_code(code) and item[2][2] < 299e4: + return + if tool.is_ge_code(code) and item[2][2] < 299e4 and item[2][1] < 290000: + return if item[1] == 0: self.__code_money_dict[code] += item[2][2] else: -- Gitblit v1.8.0