Administrator
2023-08-28 5d13694979ae5f89b37bcf0e6ed1f42973defe03
l2/cancel_buy_strategy.py
@@ -1120,7 +1120,7 @@
        time_space = tool.trade_time_sub(total_data[start_index]["val"]["time"],
                                         total_data[buy_exec_index]["val"]["time"])
        # 守护S撤以外的数据
        if time_space <= constant.S_CANCEL_EXPIRE_TIME or int(tool.get_now_time_str().replace(":", "")) > int("145000"):
        if time_space <= constant.L_CANCEL_START_TIME or int(tool.get_now_time_str().replace(":", "")) > int("145000"):
            return False, None
        watch_indexes = self.__get_watch_indexes_cache(code)
        if not watch_indexes: