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
File "grsTry.py", line 8, in
print stock.moving_average(3) # 閮?鈭???蝥予??
File "C:\Python27\lib\site-packages\grs\fetch_data.py", line 334, in moving_average
return self.__calculate_moving_average(date, 6)
File "C:\Python27\lib\site-packages\grs\fetch_data.py", line 298, in __calculate_moving_average
cal_data = self.__serial_price(row)
File "C:\Python27\lib\site-packages\grs\fetch_data.py", line 290, in __serial_price
return list(result)
File "C:\Python27\lib\site-packages\grs\fetch_data.py", line 289, in
result = (float(i[rows]) for i in self.__raw_data)
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
File "grsTry.py", line 8, in
print stock.moving_average(3) # 閮?鈭???蝥予??
File "C:\Python27\lib\site-packages\grs\fetch_data.py", line 334, in moving_average
return self.__calculate_moving_average(date, 6)
File "C:\Python27\lib\site-packages\grs\fetch_data.py", line 298, in __calculate_moving_average
cal_data = self.__serial_price(row)
File "C:\Python27\lib\site-packages\grs\fetch_data.py", line 290, in __serial_price
return list(result)
File "C:\Python27\lib\site-packages\grs\fetch_data.py", line 289, in
result = (float(i[rows]) for i in self.__raw_data)
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: