用群主教程里的cuatro策略,8个参数寻优。16G内存直接炸掉死机,这怎么解决啊?
setting = OptimizationSetting()
setting.set_target("return_drawdown_ratio")
setting.add_parameter("boll_window", 6, 40, 2)
setting.add_parameter("boll_dev", 0.4, 4, 0.2)
setting.add_parameter("rsi_window", 4, 60, 4)
setting.add_parameter("rsi_signal", 10, 50, 4)
setting.add_parameter("fast_window", 4, 60, 4)
setting.add_parameter("slow_window", 8, 80, 4)
setting.add_parameter("trailing_long", 0.8, 1, 0.2)
setting.add_parameter("trailing_short", 0.8, 1, 0.2)
engine_if.run_ga_optimization(setting)