Administrator
2024-03-07 2fa1ab8dd2ae6f9596ccd018ef5e8b812347dd8d
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']) > 2 * 60:
            return False, "下单超过2分钟"
        if tool.trade_time_sub(tool.get_now_time_str(), total_datas[real_order_index]['val']['time']) > 1 * 60:
            return False, "下单超过1分钟"
        total_left_count = 0
        total_left_num = 0