修复未来函数bug

This commit is contained in:
2025-07-15 22:45:51 +08:00
parent 5de1a43b02
commit 5a2d0fb984
19 changed files with 15019 additions and 9388 deletions

File diff suppressed because one or more lines are too long

View File

@@ -236,11 +236,11 @@ if __name__ == "__main__":
# 这种方式适合获取相对较短或中等长度的历史K线数据。
df_if_backtest_daily = collect_and_save_tqsdk_data_stream(
symbol="KQ.m@CZCE.MA",
symbol="KQ.m@DCE.jm",
# symbol='SHFE.rb2510',
# symbol='KQ.i@SHFE.bu',
freq="min60",
start_date_str="2022-01-01",
start_date_str="2021-01-01",
end_date_str="2025-07-11",
mode="backtest", # 指定为回测模式
tq_user=TQ_USER_NAME,