Traceback (most recent call last):


 "./cli.py", line 52, in <module>

save_report=args.save_report)


 "/home/andres/PycharmProjects/notadamking-rl-trader/lib/RLTrader.py", line 249, in train

save_report=save_report)


 "/home/andres/PycharmProjects/notadamking-rl-trader/lib/RLTrader.py", line 298, in test

qs.reports.html(returns.Balance, file=reports_path)


 "/home/andres/anaconda3/lib/python3.6/site-packages/quantstats/reports.py", line 60, in html

compounded=compounded)[2:]


 "/home/andres/anaconda3/lib/python3.6/site-packages/quantstats/reports.py", line 298, in metrics

dd = _calc_dd(df, display=(display or "internal" in kwargs))


 "/home/andres/anaconda3/lib/python3.6/site-packages/quantstats/reports.py", line 557, in _calc_dd

dd_info = _stats.drawdown_details(dd)


 "/home/andres/anaconda3/lib/python3.6/site-packages/quantstats/stats.py", line 590, in drawdown_details

_dfs[col] = _drawdown_details(drawdown[col])


 "/home/andres/anaconda3/lib/python3.6/site-packages/quantstats/stats.py", line 557, in _drawdown_details

if starts[0] > ends[0]:
IndexError: list index out of range

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "sympy/matrices/matrices.py", line 1112, in is_upper

for i in range(1, self.rows)


 "sympy/matrices/matrices.py", line 1113, in <genexpr>

for j in range(i))


 "sympy/matrices/dense.py", line 119, in __getitem__

return self.extract(i, j)


 "sympy/matrices/matrices.py", line 352, in extract

colsList = [a2idx(k, self.cols) for k in colsList]


 "sympy/matrices/matrices.py", line 5261, in a2idx

raise IndexError("Index out of range: a[%s]" % (j,))
IndexError: Index out of range: a[2]
