You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
554 B
22 lines
554 B
# -*- coding: utf-8 -*-
|
|
import os
|
|
from managers.simulation_manager import AlphaSimulationManager
|
|
from utils.file_utils import load_alpha_list
|
|
|
|
|
|
def main():
|
|
"""主程序入口"""
|
|
# 待模拟因子列表
|
|
alpha_list = load_alpha_list('alpha.txt')
|
|
|
|
if not alpha_list:
|
|
print("未找到有效的因子表达式,请检查 alpha.txt 文件")
|
|
return
|
|
|
|
# 创建模拟管理器并运行
|
|
manager = AlphaSimulationManager()
|
|
results = manager.run_simulation(alpha_list, batch_size=3)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main() |