#12 Data Science 👩‍💻|Mini Project : Stock price prediction

Binal Kagathara
3 min readOct 29, 2021

--

Predicting how the stock market will perform is one of the most difficult things to do. There are so many factors involved in the prediction — physical factors vs. psychological, rational and irrational behavior, etc. All these aspects combine to make share prices volatile and very difficult to predict with a high degree of accuracy.

In this blog, we will work with historical data about the stock prices of a publicly listed company. We will implement a mix of ML algo to predict the future stock price of this company, starting with simple algorithms like averaging and linear regression, and then move on to advanced techniques like Auto ARIMA and LSTM.

Understanding the Problem Statement

  • Fundamental Analysis involves analyzing the company’s future profitability on the basis of its current business environment and financial performance.
  • Technical Analysis, on the other hand, includes reading the charts and using statistical figures to identify the trends in the stock market.

Install the required libraries

Read the data

Plot the graph pf closing price

Test for staionarity

Standard deviation and mean

Splitting the data in to training and test data

Forecast

Performance accuracy

Visit GitHub for code

Thank You!!

--

--

Binal Kagathara

DevOps Engineer| AWS Certified Solution Architect - Associate | IT student