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

报错信息:
2022-09-13 15:29:13 VeighNa Trader进程启动
2022-09-13 15:29:15 Traceback (most recent call last):
File "D:\veighna_studio\lib\runpy.py", line 196, in _run_module_as_main
2022-09-13 15:29:15 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>
2022-09-13 15:29:15 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

+++++++++++++++
配置信息:
"database.name": "mongodb",
"database.database": "vnpy",
"database.host": "192.168.xx.xx",
"database.port": 27017,
"database.user": "xxxx",
"database.password": "xxxxx",
"rqdata.username": "",
"rqdata.password": "",
"database.driver": "mongodb",
"database.authentication_source": "",

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

升级一下vnpy_mongodb吧

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

沪公网安备 31011502017034号

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