VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 4
声望: 0
2022-10-19 23:41:05 Traceback (most recent call last):
  File "D:\veighna_studio\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\veighna_studio\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 39, in <module>
  File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 30, in run_trader
  File "D:\veighna_studio\lib\site-packages\vnpy\trader\engine.py", line 101, in add_app
    engine: BaseEngine = self.add_engine(app.engine_class)
  File "D:\veighna_studio\lib\site-packages\vnpy\trader\engine.py", line 72, in add_engine
    engine: BaseEngine = engine_class(self, self.event_engine)
  File "D:\veighna_studio\lib\site-packages\vnpy_ctastrategy\engine.py", line 110, in __init__
    self.database: BaseDatabase = get_database()
  File "D:\veighna_studio\lib\site-packages\vnpy\trader\database.py", line 158, in get_database
    database = module.Database()
TypeError: Can't instantiate abstract class MongodbDatabase with abstract method get_tick_overview
2022-10-19 23:42:11 VeighNa Trader进程终止

版本信息:
veighan station 3.3.0
win10 企业版 64 位

Member
avatar
加入于:
帖子: 4800
声望: 290

pip install vnpy_mongodb --upgrade 即可

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

xiaohe wrote:

pip install vnpy_mongodb --upgrade 即可

应该可以了正常用了,只是我这边提示授权失败,感谢

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

沪公网安备 31011502017034号

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