kimber-chen/Tensorflow-for-stock-prediction

DQN_draw_yearline.py

Opened this issue · 0 comments

I got an error:

Traceback (most recent call last):
Historical data 108
None
File "C:\Users\Lukas\Downloads\Tensorflow-for-stock-prediction-master\1.DQN_CNN_image\DQN_draw_yearline.py", line 44, in
stock_data = remove(stock_data)
File "C:\Users\Lukas\Downloads\Tensorflow-for-stock-prediction-master\1.DQN_CNN_image\DQN_draw_yearline.py", line 37, in remove
if (int(k) <= 0):
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Thank you