From d1df4e77d2188ff3ad84b66fb2ba7f9bc738031d Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期二, 12 八月 2025 14:48:13 +0800
Subject: [PATCH] 记录L1的最大价格信息

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

diff --git a/api/outside_api_command_callback.py b/api/outside_api_command_callback.py
index e0cfd2e..42eea24 100644
--- a/api/outside_api_command_callback.py
+++ b/api/outside_api_command_callback.py
@@ -1032,7 +1032,7 @@
                         except Exception as e:
                             logger_debug.exception(e)
 
-                result = {"code": 0, "data": {"account_available_money": account_available_money, "delegates": fdatas}}
+                result = {"code": 0, "data": {"account_available_money": account_available_money, "delegates": fdatas, "rate_of_increase_step": constant.L_DOWN_RATE_INCREASE_STEP}}
                 self.send_response(result, client_id, request_id)
             elif ctype == "get_delegated_buy_code_infos_v2":
                 account_available_money = trade_data_manager.AccountMoneyManager().get_available_money_cache()
@@ -1602,7 +1602,7 @@
             elif ctype == "set_code_today_ex_rights":
                 # 浠g爜浠婃棩闄ゆ潈锛岄渶瑕佹洿鏂癒绾�
                 code = data.get("code")
-                volumes_data = history_k_data_manager.update_history_k_bars_of_code(code, force=True)
+                volumes_data = history_k_data_manager.update_history_k_bars_of_code(code, force=True, juejin=True)
                 if not volumes_data:
                     result = {"code": 1, "msg": "鎷夊彇K绾垮け璐�"}
                 else:

--
Gitblit v1.8.0