新建回测系统,并提交

This commit is contained in:
2026-01-17 21:37:42 +08:00
commit fe50ea935a
68 changed files with 108208 additions and 0 deletions

7
benchmark/__init__.py Normal file
View File

@@ -0,0 +1,7 @@
"""基准模块。
提供基准指数(如上证指数)的收益率计算功能,用于与策略收益进行对比。
"""
from benchmark.benchmark_loader import load_benchmark, calc_benchmark_return
__all__ = ["load_benchmark", "calc_benchmark_return"]