From ad87e069dcdb9c1e5e1763a95174a1d1f55fa27c Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期二, 31 十二月 2024 16:47:10 +0800
Subject: [PATCH] 测试

---
 third_data/hx_qc_value_util.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/third_data/hx_qc_value_util.py b/third_data/hx_qc_value_util.py
index f1d0e61..477141b 100644
--- a/third_data/hx_qc_value_util.py
+++ b/third_data/hx_qc_value_util.py
@@ -7,6 +7,7 @@
 import time
 
 from huaxin_client import l1_api_client
+from log_module.log import logger_debug
 from utils import tool
 
 __response_data = {}
@@ -69,6 +70,7 @@
     @param end_date:
     @return:
     """
+    logger_debug.info("get_history_k_bars寮�濮�")
     load_latest_trade_calendar()
     _count = -1
     start_date = None
@@ -83,6 +85,7 @@
             start_date = __trade_calendar_list[i]
         if _count >= count:
             break
+    logger_debug.info(f"get_history_k_bars 鑾峰彇鍒板紑濮嬫棩鏈燂細{start_date}")
     request_id = __base_request("get_history_k_bars", {"start_date": start_date, "end_date": end_date, "code": code})
     return __read_response(request_id)
 
@@ -153,7 +156,7 @@
 
 def __test():
     time.sleep(5)
-    print( get_history_k_bars("000333", count=150))
+    print(get_history_k_bars("000333", count=150))
     print(get_previous_trading_date("2024-12-31"))
     print(get_next_trading_date("2024-12-30"))
 

--
Gitblit v1.8.0