VeighNa量化社区
你的开源社区量化交易平台
cygnusyang's Avatar
Member
离线
2 帖子
声望: 0

qt.qpa.fonts: Populating font family aliases took 77 ms. Replace uses of missing font family "微软雅黑" with one that exists to avoid this cost.
2023-02-12 18:08:29.750 python[14653:285221] TSM AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit
Traceback (most recent call last):
File "/opt/homebrew/anaconda3/envs/toberich/lib/python3.9/site-packages/vnpy_portfoliostrategy/ui/widget.py", line 140, in add_strategy
self.strategy_engine.add_strategy(
File "/opt/homebrew/anaconda3/envs/toberich/lib/python3.9/site-packages/vnpy_portfoliostrategy/engine.py", line 344, in add_strategy
strategy: StrategyTemplate = strategy_class(self, strategy_name, vt_symbols, setting)
File "/opt/homebrew/anaconda3/envs/toberich/lib/python3.9/site-packages/vnpy_portfoliostrategy/strategies/pair_trading_strategy.py", line 66, in init
self.leg1_symbol, self.leg2_symbol = vt_symbols
ValueError: not enough values to unpack (expected 2, got 1)

© 2015-2022 微信 18391752892
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

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