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

Traceback (most recent call last):
File "d:\vnstudio\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 281, in open_widget
widget = widget_class(self.main_engine, self.event_engine)
File "d:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\ui\widget.py", line 49, in init
self.init_ui()
File "d:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\ui\widget.py", line 211, in init_ui
self.candle_dialog = CandleChartDialog()
File "d:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\ui\widget.py", line 1152, in init
self.init_ui()
File "d:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\ui\widget.py", line 1162, in init_ui
self.chart.add_plot("volume", maximum_height=200)
File "d:\vnstudio\lib\site-packages\vnpy\chart\widget.py", line 72, in add_plot
plot = pg.PlotItem(axisItems={'bottom': self._x_axis})
File "d:\vnstudio\lib\site-packages\pyqtgraph\graphicsItems\PlotItem\PlotItem.py", line 158, in init
self.setAxisItems(axisItems)
File "d:\vnstudio\lib\site-packages\pyqtgraph\graphicsItems\PlotItem\PlotItem.py", line 325, in setAxisItems
if axis != self.axes[k]["item"]:
KeyError: 'bottom'

Member
avatar
加入于:
帖子: 5080
声望: 306

可参考https://www.vnpy.com/forum/topic/4072-zai-ubuntutu-xing-hua-jie-mian-shang-wu-fa-yun-xing-vnpy-master-examples-candle-chart-run-py

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

谢谢xiaohe大侠

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

沪公网安备 31011502017034号

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