From 0ce5457b060bddc2ab65e4ff094159781cd15deb Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 17 六月 2025 17:18:58 +0800 Subject: [PATCH] ‘功能完善 --- strategy/time_series_backtest.py | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/strategy/time_series_backtest.py b/strategy/time_series_backtest.py index 6234c92..05540ab 100644 --- a/strategy/time_series_backtest.py +++ b/strategy/time_series_backtest.py @@ -585,6 +585,8 @@ if p not in most_real_kpl_plate_limit_up_codes_info: most_real_kpl_plate_limit_up_codes_info[p] = [] most_real_kpl_plate_limit_up_codes_info[p].append(code) + # print(time_str, "娑ㄥ仠鏁板ぇ浜�3涓�", [p for p in most_real_kpl_plate_limit_up_codes_info if + # len(most_real_kpl_plate_limit_up_codes_info[p]) >= 3]) # ---------娴嬭瘯-------- # test_plate = "鍖栧伐" @@ -785,7 +787,7 @@ stock_variables.鏉垮潡鎴愪氦浠g爜 = self.deal_block_codes -# DEBUG_CODES = ['600727'] +# DEBUG_CODES = ['603579', '300884'] DEBUG_CODES = [] VOLUME_LOG_ENABLE = False @@ -798,12 +800,13 @@ if __name__ == "__main__": back_test_dict = {} - # days = ["2025-05-06", "2025-05-07", "2025-05-08", "2025-05-09", "2025-05-12", "2025-05-13", "2025-05-14", - # "2025-05-15", "2025-05-16", "2025-05-19", "2025-05-20", "2025-05-21", "2025-05-22"] days = ["2025-05-12", "2025-05-13", "2025-05-14", "2025-05-15", "2025-05-16", "2025-05-19", "2025-05-20", "2025-05-21", "2025-05-22", "2025-05-23", "2025-05-26", "2025-05-27", "2025-05-28", "2025-05-29", - "2025-05-30", "2025-06-03", "2025-06-04", "2025-06-05", "2025-06-06", "2025-06-09", "2025-06-10", - "2025-06-11", "2025-06-12", "2025-06-13", "2025-06-16", "2025-06-17"] + "2025-05-30", "2025-06-03"] + # days = ["2025-05-12", "2025-05-13", "2025-05-14", "2025-05-15", "2025-05-16", "2025-05-19", "2025-05-20", + # "2025-05-21", "2025-05-22", "2025-05-23", "2025-05-26", "2025-05-27", "2025-05-28", "2025-05-29", + # "2025-05-30", "2025-06-03", "2025-06-04", "2025-06-05", "2025-06-06", "2025-06-09", "2025-06-10", + # "2025-06-11", "2025-06-12", "2025-06-13", "2025-06-16", "2025-06-17"] # days = ["2025-06-13"] -- Gitblit v1.8.0