You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
strategy.run_backtest() File "/opt/conda/lib/python3.8/site-packages/QAStrategy/qactabase.py", line 192, in run_backtest risk = QA_Risk(self.acc) File "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QAARP/QARisk.py", line 184, in __init__ self._assets = self.account.daily_cash.set_index( File "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QAARP/QAAccountPro.py", line 636, in daily_cash index=pd.to_datetime(self.trade_range_max).set_names('date'), File "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QAARP/QAAccountPro.py", line 439, in trade_range_max if self.start_date < str(min(self.time_index_max))[0:10]: ValueError: min() arg is an empty sequence
错误如图,个人分析是什么前置工作没有做好么?还是需要什么特殊配置?求大佬指路。
之前安装好了quantaxis的docker-future。找了一圈实在不知道原因。
The text was updated successfully, but these errors were encountered:
strategy.run_backtest() File "/opt/conda/lib/python3.8/site-packages/QAStrategy/qactabase.py", line 192, in run_backtest risk = QA_Risk(self.acc) File "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QAARP/QARisk.py", line 184, in __init__ self._assets = self.account.daily_cash.set_index( File "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QAARP/QAAccountPro.py", line 636, in daily_cash index=pd.to_datetime(self.trade_range_max).set_names('date'), File "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QAARP/QAAccountPro.py", line 439, in trade_range_max if self.start_date < str(min(self.time_index_max))[0:10]: ValueError: min() arg is an empty sequence
错误如图,个人分析是什么前置工作没有做好么?还是需要什么特殊配置?求大佬指路。
之前安装好了quantaxis的docker-future。找了一圈实在不知道原因。
The text was updated successfully, but these errors were encountered: