Administrator
2023-09-06 1b849fc74b1b15095aa20f2a8021a35718c61bf9
l2/cancel_buy_strategy.py
@@ -1200,7 +1200,7 @@
    # 开始撤单
    def start_cancel(self, code, buy_no, total_datas, buy_order_no_map, local_operate_map, m_val_num):
        thresh_num = int(m_val_num * 1.5)
        thresh_num = int(m_val_num * 1.8)
        place_order_index = self.__SecondCancelBigNumComputer.get_real_place_order_index_cache(code)
        if place_order_index is None:
            raise Exception("未获取到下单真实位置")
@@ -1224,7 +1224,7 @@
                        break
        if buy_nums > thresh_num:
            need_cancel = False
        return need_cancel, f"成交进度位({transaction_index})-真实下单位({place_order_index})  纯买手数:{buy_nums}/1.5倍m值手数:{thresh_num}"
        return need_cancel, f"成交进度位({transaction_index})-真实下单位({place_order_index})  纯买手数:{buy_nums}/1.8倍m值手数:{thresh_num}"
# --------------------------------封单额变化撤------------------------