-
Notifications
You must be signed in to change notification settings - Fork 10
Description
if I try to launch with the command:
./stock-viewer.py -n AAPL.US -W -g -r
i have this error:
IndexError: index -27 is out of bounds for axis 0 with size 19
the report file is also not generated
to get a daily result, how can I try?
Traceback (most recent call last): File "./stock-viewer.py", line 470, in <module> ichimoku.Plot(plot9) File "/Users/main/test/pyStock/indicators/ichimoku.py", line 228, in Plot self.__plotDayLine(plt, 26) File "/Users/main/test//pyStock/indicators/ichimoku.py", line 154, in __plotDayLine self.tenkanSen.index[-1-days], self.pmin, self.low.values[-1-days]) File "/Users/main/test/myenv/lib/python3.7/site-packages/pandas/core/indexes/extension.py", line 238, in __getitem__ result = self._data[key] File "/Users/main/test/myenv/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py", line 281, in __getitem__ result = super().__getitem__(key) File "/Users/main/test/myenv/lib/python3.7/site-packages/pandas/core/arrays/_mixins.py", line 222, in __getitem__ result = self._ndarray[key] IndexError: index -27 is out of bounds for axis 0 with size 19