From 432e7c6e409a3b3a9d615ef6facb3406ceec045c Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 06 一月 2025 14:52:46 +0800
Subject: [PATCH] BUG修复

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

diff --git a/api/outside_api_command_callback.py b/api/outside_api_command_callback.py
index b3a7b49..17552ed 100644
--- a/api/outside_api_command_callback.py
+++ b/api/outside_api_command_callback.py
@@ -1415,6 +1415,15 @@
                                    client_id,
                                    request_id)
 
+            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"])
+                self.send_response({"code": 0, "data": {}},
+                                   client_id,
+                                   request_id)
+
 
 
         except Exception as e:

--
Gitblit v1.8.0