From 82f0d56e8e25f56bf109db6e5d3dcec7a507ad4e Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期三, 02 七月 2025 15:33:24 +0800
Subject: [PATCH] 日志调整/bug修复

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

diff --git a/api/outside_api_command_callback.py b/api/outside_api_command_callback.py
index 9cb2929..402f3db 100644
--- a/api/outside_api_command_callback.py
+++ b/api/outside_api_command_callback.py
@@ -1472,9 +1472,9 @@
             elif ctype == "test_place_order":
                 # 鑾峰彇鐩稿悓鏉垮潡鐨勬定鍋滀唬鐮佹暟閲�
                 code = data.get("code")
-                total_datas = l2_data_util.local_today_datas.get(code)
-                trade_manager.test_order(code, total_datas[-1], total_datas[-1]["index"])
-                radical_buy_data_manager.pull_pre_deal_big_orders(code)
+                # total_datas = l2_data_util.local_today_datas.get(code)
+                # trade_manager.test_order(code, total_datas[-1], total_datas[-1]["index"])
+                # radical_buy_data_manager.pull_pre_deal_big_orders(code)
                 self.send_response({"code": 0, "data": {}},
                                    client_id,
                                    request_id)
@@ -1482,7 +1482,7 @@
             elif ctype == "test_cancel_order":
                 # 鑾峰彇鐩稿悓鏉垮潡鐨勬定鍋滀唬鐮佹暟閲�
                 code = data.get("code")
-                trade_manager.start_cancel_buy(code)
+                trade_manager.start_cancel_buy(code, force=True)
                 self.send_response({"code": 0, "data": {}},
                                    client_id,
                                    request_id)

--
Gitblit v1.8.0