l2/cancel_buy_strategy.py
@@ -127,6 +127,8 @@ def __need_cancel_for_up(self, code, big_sell_order_info, total_datas): # 查询是否是真的真实下单位置 trade_index, is_default = TradeBuyQueue().get_traded_index(code) if trade_index is None: trade_index = 0 real_order_index_info = self.__get_real_place_order_index_info_cache(code) if real_order_index_info is None or real_order_index_info[1]: return False, "没找到真实下单位"