|
策略更新:大类资产轮动策略+ RSRS择时。 quantlab-v3.9.7.zip
| INFO | engine.task:load_datas:55 - 开始加载数据...
获取数据失败:159928.SZ
Uncaught app exception
Traceback (most recent call last):
File "\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script
exec(code, module.__dict__)
File "\streamlit_main.py", line 70, in <module>
strategies()
File "\gui\streamlit_pages\page_strategies.py", line 25, in strategies
e.run()
File "\engine\engine.py", line 47, in run
self._init_env()
File "\engine\engine.py", line 21, in _init_env
self.df_datas = self.task.load_datas()
File "\engine\task.py", line 58, in load_datas
df = loader.load(fields=self.features, names=self.feature_names)
File "\datafeed\dataloader.py", line 44, in load
dfs = self._load_dfs()
File "\datafeed\dataloader.py", line 124, in _load_dfs
df = self._read_csv(csvs, symbol)
File "\datafeed\dataloader.py", line 112, in _read_csv
df['date'] = df['date'].apply(lambda x: str(x))
TypeError: 'NoneType' object is not subscriptable
|
|