Administrator
2024-04-03 5d3a08f8405c7392ca1a06c610b43a42a633de09
bug修改
1个文件已修改
3 ■■■■ 已修改文件
l2/l2_data_manager_new.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/l2_data_manager_new.py
@@ -2134,7 +2134,8 @@
                total_datas[buy_single_index]['val']['orderNo']))
            sell_order_num = sum([x[1] for x in sell_orders]) // 100
            # 纯买额足够,且笔数大于2笔
            if buy_nums < threshold_num + sell_order_num:
            if buy_nums < threshold_num:
                l2_log.buy_debug(code, f"激进买主动卖手数:{sell_order_num}")
                not_buy_msg = f"【{i}】纯买额不够,{buy_nums}/{threshold_num}"
                continue
            if not trigger_buy: