Administrator
2024-11-04 3da6b577db3dcec38a3a3ed6a6230d0598ca072a
触发扫入的成交比例阈值修改
2个文件已修改
5 ■■■■■ 已修改文件
code_attribute/first_target_code_data_processor.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/l2_data_manager_new.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
code_attribute/first_target_code_data_processor.py
@@ -130,7 +130,8 @@
                # 是否具有辨识度
                is_special = True if k_format and k_format[8][0] else False
                if not WantBuyCodesManager().is_in_cache(code):
                if not WantBuyCodesManager().is_in_cache(code) and not gpcode_manager.BuyOpenLimitUpCodeManager().is_in_cache(code):
                    # 不是想买单,也不是排一的代码
                    if not is_special:
                        situation = MarketSituationManager().get_situation_cache()
                        zylt_threshold_as_yi = buy_condition_util.get_zyltgb_threshold(situation)
l2/l2_data_manager_new.py
@@ -962,7 +962,7 @@
        money_y = min(money_y, 50)
        money_y = max(money_y, 5)
        # 计算大单参考数量
        threshold_count = int(round(0.4 * money_y)) * 2
        threshold_count = int(round(0.4 * money_y)) * 4
        threshold_money = threshold_count * 299 * 10000
        volume_rate_info = cls.volume_rate_info.get(code)