1、vp策略

This commit is contained in:
2025-10-05 00:09:59 +08:00
parent f43a6b2822
commit 4712565749
70 changed files with 59950 additions and 1175 deletions

File diff suppressed because one or more lines are too long

View File

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