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

Traceback (most recent call last):
File "D:\veighna_studio\lib\site-packages\tqdm\std.py", line 1195, in iter
for obj in iterable:
File "D:\veighna_studio\lib\concurrent\futures\process.py", line 570, in _chain_from_iterable_of_lists
for element in iterable:
File "D:\veighna_studio\lib\concurrent\futures_base.py", line 621, in result_iterator
yield _result_or_cancel(fs.pop())
File "D:\veighna_studio\lib\concurrent\futures_base.py", line 319, in _result_or_cancel
return fut.result(timeout)
File "D:\veighna_studio\lib\concurrent\futures_base.py", line 458, in result
return self.get_result()
File "D:\veighna_studio\lib\concurrent\futures_base.py", line 403, in
get_result
raise self._exception
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\veighna_studio\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "D:\veighna_studio\lib\threading.py", line 953, in run
self._target(self._args, **self._kwargs)
File "D:\veighna_studio\lib\site-packages\vnpy_ctabacktester\engine.py", line 316, in run_optimization
self.result_values = engine.run_bf_optimization(
File "D:\veighna_studio\lib\site-packages\vnpy_ctastrategy\backtesting.py", line 556, in run_bf_optimization
results: list = run_bf_optimization(
File "D:\veighna_studio\lib\site-packages\vnpy\trader\optimize.py", line 119, in run_bf_optimization
results: List[Tuple] = list(it)
File "D:\veighna_studio\lib\site-packages\tqdm\std.py", line 1210, in iter
self.close()
File "D:\veighna_studio\lib\site-packages\tqdm\std.py", line 1316, in close
self.display(pos=0)
File "D:\veighna_studio\lib\site-packages\tqdm\std.py", line 1509, in display
self.sp(self.str() if msg is None else msg)
File "D:\veighna_studio\lib\site-packages\tqdm\std.py", line 350, in print_status
fp_write('\r' + s + (' '
max(last_len[0] - len_s, 0)))
File "D:\veighna_studio\lib\site-packages\tqdm\std.py", line 343, in fp_write
fp.write(_unicode(s))
File "D:\veighna_studio\lib\site-packages\tqdm\utils.py", line 145, in inner
return func(*args, **kwargs)
OSError: [Errno 22] Invalid argument

LLM学员
avatar
加入于:
帖子: 1546
声望: 112

请贴下优化时候的参数配置截图?

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

沪公网安备 31011502017034号

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