Administrator
2024-03-06 dde40bed2653bacfdaebc576ec739d3a322867a1
l2/cancel_buy_strategy.py
@@ -1679,8 +1679,8 @@
        # 统计未撤订单的数量与金额
        total_datas = local_today_datas.get(code)
        # 是否是下单5分钟内
        if tool.trade_time_sub(tool.get_now_time_str(), total_datas[real_order_index]['val']['time']) > 3 * 60:
            return False, "下单超过5分钟"
        if tool.trade_time_sub(tool.get_now_time_str(), total_datas[real_order_index]['val']['time']) > 2 * 60:
            return False, "下单超过2分钟"
        total_left_count = 0
        total_left_num = 0