usename:license
usepassword: 用了申请来的试用版token
然后 查询
rb2207
SHFE
Daily
2022/4/26
Traceback (most recent call last):
File "C:\veighna_studio\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 "C:\veighna_studio\lib\site-packages\vnpy_datamanager\ui\widget.py", line 609, in download
count = self.engine.download_bar_data(symbol, exchange, interval, start)
File "C:\veighna_studio\lib\site-packages\vnpy_datamanager\engine.py", line 216, in download_bar_data
self.database.save_bar_data(data)
File "C:\veighna_studio\lib\site-packages\vnpy_sqlite\sqlite_database.py", line 159, in save_bar_data
DbBarData.insert_many(c).on_conflict_replace().execute()
File "C:\veighna_studio\lib\site-packages\peewee.py", line 1911, in inner
return method(self, database, args, **kwargs)
File "C:\veighna_studio\lib\site-packages\peewee.py", line 1982, in execute
return self._execute(database)
File "C:\veighna_studio\lib\site-packages\peewee.py", line 2761, in _execute
return super(Insert, self)._execute(database)
File "C:\veighna_studio\lib\site-packages\peewee.py", line 2479, in _execute
cursor = database.execute(self)
File "C:\veighna_studio\lib\site-packages\peewee.py", line 3173, in execute
return self.execute_sql(sql, params, commit=commit)
File "C:\veighna_studio\lib\site-packages\peewee.py", line 3157, in execute_sql
with exception_wrapper:
File "C:\veighna_studio\lib\site-packages\peewee.py", line 2933, in exit
reraise(new_type, new_type(exc_value, exc_args), traceback)
File "C:\veighna_studio\lib\site-packages\peewee.py", line 191, in reraise
raise value.with_traceback(tb)
File "C:\veighna_studio\lib\site-packages\peewee.py", line 3160, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: table dbbardata has no column named turnover