Administrator
2024-04-30 8ae3d9af6e57c094dbf2b4516b9cf5325dd13a7e
l2/cancel_buy_strategy.py
@@ -1413,7 +1413,7 @@
        if real_place_order_info and real_place_order_info[0] > index:
            total_datas = local_today_datas.get(code)
            min_num = int(5000 / (float(gpcode_manager.get_limit_up_price(code))))
            for j in range(index + 1, real_place_order_info[0]):
            for j in range(real_place_order_info[0]-1, index , -1):
                data = total_datas[j]
                val = data['val']
                if data["index"] in watch_indexes:
@@ -1430,6 +1430,7 @@
                                                                                                             code))
                if left_count > 0:
                    watch_indexes.add(data["index"])
                    l2_log.l_cancel_debug(code, f"L后有成交重新囊括:成交索引-{index} 囊括索引-{data['index']}")
                    break
        self.__set_watch_indexes(code, watch_indexes_info[0], watch_indexes_info[1], watch_indexes)