vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 12
声望: 0

导入CSV 数据成功,回测不了。

description

description

cmd 提示

qt.network.ssl: QSslSocket: cannot call unresolved function SSL_set_psk_use_sess
ion_callback
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_set_psk_use_sess
ion_callback
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\vnstudio\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\vnstudio\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 1
62, in run_backtesting
inverse=inverse
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_strategy\backtesting.py", lin
e 198, in set_parameters
self.symbol, exchange_str = self.vt_symbol.split(".")
ValueError: not enough values to unpack (expected 2, got 1)

Member
avatar
加入于:
帖子: 12
声望: 0

可以了回测了
vt_symbol= symbole+exchange
description

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

沪公网安备 31011502017034号