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

"燃油1909: 触发异常已停止
Traceback (most recent call last):
File ""D:\GP\vnstudio\lib\site-packages\vnpy\app\cta_strategy\engine.py"", line 560, in call_strategy_func
func()
File ""D:\GP\vnstudio\lib\site-packages\vnpy\app\cta_strategy\strategies\turtle_signal_strategy.py"", line 51, in on_init
self.load_bar(20)
File ""D:\GP\vnstudio\lib\site-packages\vnpy\app\cta_strategy\template.py"", line 229, in load_bar
self.cta_engine.load_bar(self.vt_symbol, days, interval, callback)
File ""D:\GP\vnstudio\lib\site-packages\vnpy\app\cta_strategy\engine.py"", line 511, in load_bar
symbol, exchange = extract_vt_symbol(vt_symbol)
File ""D:\GP\vnstudio\lib\site-packages\vnpy\trader\utility.py"", line 20, in extract_vt_symbol
symbol, exchange_str = vt_symbol.split(""."")
ValueError: not enough values to unpack (expected 2, got 1)
"

Member
avatar
加入于:
帖子: 141
声望: 52

vt_symbol = "fu1910.SHFE"

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

谢谢

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

沪公网安备 31011502017034号

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