From fd088787bc52e93bbce8f6aeb080fa8f472015aa Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 09 六月 2025 18:13:07 +0800 Subject: [PATCH] 功能完善 --- third_data/history_k_data_util.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/third_data/history_k_data_util.py b/third_data/history_k_data_util.py index a24ffc5..bc1c44a 100644 --- a/third_data/history_k_data_util.py +++ b/third_data/history_k_data_util.py @@ -390,7 +390,10 @@ @classmethod def get_trading_dates(cls, start_date, end_date): - return hx_qc_value_util.get_trade_calendar(start_date, end_date) + if constant.is_windows(): + return JueJinApi.get_trading_dates(start_date, end_date) + else: + return hx_qc_value_util.get_trade_calendar(start_date, end_date) @classmethod def get_now_price(cls, codes): -- Gitblit v1.8.0