Hi,
I checked your code and noticed that you divide training and test data randomly, based on a split ratio. However in the case of stock markets, I dont think you can do that, since this data is time sensitive. Future prices may imply past prices. When I edited your code to reflect this change (divide the first 70% of the data as training set and last 30% as test set), the accuracy drops down to 50%, unfortunately. I wish it didnt :)
Best,
Cem
Hi,
I checked your code and noticed that you divide training and test data randomly, based on a split ratio. However in the case of stock markets, I dont think you can do that, since this data is time sensitive. Future prices may imply past prices. When I edited your code to reflect this change (divide the first 70% of the data as training set and last 30% as test set), the accuracy drops down to 50%, unfortunately. I wish it didnt :)
Best,
Cem