From c8d828e625fa5b3ae6232666ac2c0e5f51a62c54 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 18 八月 2025 15:02:56 +0800
Subject: [PATCH] 13:01之前下单规则修改/接口修改/自动加想策略修改

---
 third_data/history_k_data_util.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/third_data/history_k_data_util.py b/third_data/history_k_data_util.py
index 0da3c8b..197e0e0 100644
--- a/third_data/history_k_data_util.py
+++ b/third_data/history_k_data_util.py
@@ -185,7 +185,6 @@
                                                      fields=fields)
 
     @classmethod
-    @classmethod
     def get_history_instruments(cls, symbols, start_date, end_date, fields=None):
         if constant.JUEJIN_LOCAL_API:
             account_id, s_id, token = cls.getJueJinAccountInfo()
@@ -234,9 +233,9 @@
         return JueJinApi.get_gp_latest_info(codes, fields)
 
     @classmethod
-    def get_history_tick_n(cls, code, count, fields=None):
+    def get_history_tick_n(cls, code, count, fields=None, juejin=False):
         # return JueJinApi.get_history_tick_n(code, count, fields)
-        if constant.is_windows():
+        if constant.is_windows() or juejin:
             return JueJinApi.get_history_tick_n(code, count, fields)
         else:
             try:

--
Gitblit v1.8.0