Administrator
2023-10-31 f3589c47b3983ae6231c53028c3f7dce8b9fe3cd
闪电下单m值打8折
1个文件已修改
5 ■■■■■ 已修改文件
l2/l2_data_manager_new.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/l2_data_manager_new.py
@@ -1058,8 +1058,9 @@
                order_begin_pos.num = 0
                order_begin_pos.count = 0
                order_begin_pos.buy_single_index = buy_single_index
                if sell_info:
                    order_begin_pos.threshold_money = sell_info[1]
                if order_begin_pos.sell_info:
                    # 暂时打8折
                    order_begin_pos.threshold_money = int(sell_info[1] * 0.8)
                l2_log.debug(code, "获取到买入信号起始点:{} ,计算范围:{}-{} ,量比:{},数据:{} 模式:{}({})", buy_single_index,
                             compute_start_index,
                             compute_end_index, cls.volume_rate_info[code], total_datas[buy_single_index],