VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 15
声望: 0

各位, 遗传算法优化报错

谢谢回复!

Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/abc/.virtualenvs/quant/lib/python3.10/site-packages/vnpy_ctabacktester/engine.py", line 310, in run_optimization
    self.result_values = engine.run_ga_optimization(
TypeError: BacktestingEngine.run_ga_optimization() got an unexpected keyword argument 'max_workers'

安装的的模块版本清单:

$ pip list|ack vnpy_ 
vnpy                         3.6.0
vnpy-algotrading             1.0.3
vnpy-chartwizard             1.0.3
vnpy-ctabacktester           1.1.0
vnpy-ctastrategy             1.1.2
vnpy-ctp                     6.6.7.2
vnpy-ctptest                 6.6.7.0
vnpy-datamanager             1.0.8
vnpy-datarecorder            1.0.4
vnpy-excelrtd                1.0.1
vnpy-mongodb                 1.0.4
vnpy-optionmaster            1.0.7
vnpy-paperaccount            1.0.2
vnpy-portfoliomanager        1.0.2
vnpy-portfoliostrategy       1.0.4
vnpy-riskmanager             1.0.3
vnpy-rpcservice              1.0.3
vnpy-rqdata                  2.10.14.2
vnpy-scripttrader            1.0.2
vnpy-spreadtrading           1.1.7
vnpy-sqlite                  1.0.1
vnpy-tts                     6.6.7.3
vnpy-tushare                 1.2.89.0
vnpy-webtrader               1.0.5
Member
avatar
加入于:
帖子: 15
声望: 0

升级 vnpy-ctastrategy 到1.1.3解决。

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】