Skip to content

Using linear regression and data analysis predicting given stock's future prices.

Notifications You must be signed in to change notification settings

jaym21/Stock-Price-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Stock-Price-Predictor

  • This program predicts future adjusted closing prices of the stock given to it, the data of the stock's history is imported from yahoo finance.
  • The model is trained using Linear Regression.
  • The number of days to be predicted can be changed inside program by changing 'no_of_pred' variable.
  • For example if you want to predict the stock prices of Reliance Industries Limited and the number of days we want to predict in future is 10 days.

Before Prediction

The price of stock till the current date can be plotted as BeforePrediction

After Prediction

This plot shows the stock prices after running through linear regression model.
The stock prices after the vertical red line are the predicted. AfterPrediction