Hi! I have created a stock predicter using an LSTM and have provided the code. You can change whatever stock the predicter predicts by changing sumbol to the stock symbol of any company. The code works by taking daily stock data from yahoo finance and training a model on it. The code predicts the last 250 days and compares it to the actual stock price of the last 250 days. It is supposed to be trained on the 2000 days before the last 250 days. The thing is, it is too accurate and I beleive there is data leak but I cannot find it. Data leak is when a model is trained on data it is supposed to predict and not know. I would really love help! Thanks :)) The code is below btw!!!!!
#๐ Help Needed Relating to Data Leaking in Stock Predicter using Deep Neural Networks (LSTM)
4 messages ยท Page 1 of 1 (latest)
@stiff jackal
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
@stiff jackal
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.