In this rep, I've given the python code through which I predicted the stock price of any given stock upto 10 days ahead. The red line depicts the real stock price as well as the blue line depicts the predicted price coming out of the prediction done in the model. With this loss function was also been analysed which shows very less error was estimated in the model.
To make it run, import the dataset correctly in the read.csv(). Leave the rest to the program. Enjoy! For any help, refer to the descriptive report uploaded with the code. Happy Learning.