测试了wind和tinysoft的datafeed配置,都是连通可获取数据的。
(可以获得BarData数据,TickData数据获取报错,图为配置tinysoft)
(配置wind的datafeed情况下,也是只能获得BarData,TickData获取为空)
直接在notebook中使用wind/tinysoft对应的api,都可以正常获取tick数据。
但在datamanager和ctabacktester中无法下载数据。
Traceback (most recent call last):
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 3160, in execute_sql
cursor.execute(sql, params or ())
sqlite3.OperationalError: table dbbardata has no column named turnover
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\program files\vnstudio\lib\site-packages\vnpy_datamanager\ui\widget.py", line 609, in download
count = self.engine.download_bar_data(symbol, exchange, interval, start)
File "d:\program files\vnstudio\lib\site-packages\vnpy_datamanager\engine.py", line 216, in download_bar_data
self.database.save_bar_data(data)
File "d:\program files\vnstudio\lib\site-packages\vnpy_sqlite\sqlite_database.py", line 159, in save_bar_data
DbBarData.insert_many(c).on_conflict_replace().execute()
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 1911, in inner
return method(self, database, *args, **kwargs)
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 1982, in execute
return self._execute(database)
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 2761, in _execute
return super(Insert, self)._execute(database)
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 2479, in _execute
cursor = database.execute(self)
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 3173, in execute
return self.execute_sql(sql, params, commit=commit)
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 3167, in execute_sql
self.commit()
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 2933, in __exit__
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 191, in reraise
raise value.with_traceback(tb)
File "d:\program files\vnstudio\lib\site-packages\peewee.py", line 3160, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: table dbbardata has no column named turnover
数据服务初始化成功,下载失败触发异常