Rachnog / Deep-Trading

Algorithmic trading with deep learning experiments
1.43k stars 695 forks source link

Indexing error in multimodel/process_data.py #5

Open chrisfischer opened 7 years ago

chrisfischer commented 7 years ago

On line 170, you have

y_i = np.std(data_chng_train[i:i+window+forecast][3])

However, this would just pull the 3rd row out of the group of 30. I think what you meant to write was:

y_i = np.std(data_chng_train[i:i+window+forecast, 3])

But I still don't really understand what you are trying to do with np.std()