From e956220bdcc40beb7d27403ccceb8fc47f4ac298 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 30 五月 2025 14:25:43 +0800
Subject: [PATCH] 批量撤单测试

---
 api/outside_api_command_callback.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/api/outside_api_command_callback.py b/api/outside_api_command_callback.py
index 5eaa25a..402f3db 100644
--- a/api/outside_api_command_callback.py
+++ b/api/outside_api_command_callback.py
@@ -1479,6 +1479,14 @@
                                    client_id,
                                    request_id)
 
+            elif ctype == "test_cancel_order":
+                # 鑾峰彇鐩稿悓鏉垮潡鐨勬定鍋滀唬鐮佹暟閲�
+                code = data.get("code")
+                trade_manager.start_cancel_buy(code, force=True)
+                self.send_response({"code": 0, "data": {}},
+                                   client_id,
+                                   request_id)
+
             elif ctype == "set_total_deal_big_order_threshold_money":
                 code = data.get("code")
                 money = data.get("money")

--
Gitblit v1.8.0