Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price of the next day #2

Open
dabster2000 opened this issue Dec 19, 2017 · 1 comment
Open

Price of the next day #2

dabster2000 opened this issue Dec 19, 2017 · 1 comment

Comments

@dabster2000
Copy link

I've tried to use you program and everything is working out fine - nice job!

I have one question.

It seems that the program only calculates the stock price of those stocks whose actual stock price is given and not the next day stock price? It shows "actual" and "predicted", but next day stock price should only contain "predicted".

Or am I doing something wrong?

@leodennis
Copy link

leodennis commented May 18, 2018

Hi,

you are right!
He is predicting some days ahead but only one day ahead at a time.
He is not taking the prediction as input for your next prediciton, but he is taking the actual value.

This results in a lag of the actual signal, all your network has to do is produce a similar value to the last input of the price.

If you would take your prediction as the input for the next prediction you would see that the results are quite bad…

I have seen a lot of LSTM price prediction examples but I jet have to see a correct one. But I don't think it is possible to predict the stock pruices accuratly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants