Paper 8660
Paper 8660
Paper 8660
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
Abstract: Forecasting the future value of stocks traded on a stock exchange to make a profit is a common
practice, and machine learning algorithms can help in this process by analysing various market elements.
However, predicting stock prices accurately is challenging due to several factors that affect them.
Researchers often use technical or fundamental analysis techniques to predict market trends, where
technical analysis involves studying price movements, while fundamental analysis involves studying
qualitative data from sources like financial news and reports. Over time, the availability of online market
data has increased, providing more information for analysis.
Keywords: Stock market, Long Short Term Memory (LSTM), Machine Learning
I. INTRODUCTION
Stock price prediction is way of finding the upcoming value of the stock market value.The one who invests can get
more profit if the system predicts the upcoming value accurately. While detecting the upcoming value the various
parameters should be included like the financial status of the company or the demand for the products, now building a
model that will take all these as input and analyses and gives the output, designing such a model is a difficult task. The
main intention will always be to provide accurate result and help investors gain more income. Knowing a few seconds
knowledge of how stock price is changing will result is good amount of profit. investing in stocks is a important
financial market activity, not knowing even a little amount of important knowledge will result in a bad result. Technical
analysis concentrates on the direction of prices by examining historical stock prices to forecast future stock values.
Fundamental analysis focuses on studying financial news and earnings reports. Artificial intelligence has now made it
possible for the humans top develop more computable system like the stock price prediction, which has to take more
parameters which the human cannot analyse and predict the output. Here the basic idea applied is to take the datasets of
the particular company whose stock price we want to predict and giving those datasets to the system, then it is going to
train itself with those datasets and by analysing that it is going to provide the accurate result.
II. METHODOLOGY
Data Pre-processing: There is lots of pre-processing to be made on the dataset before training the data, the
following are the steps for that are Data cleaning, Data normalization, Scaling the data, Splitting the data,
Handling missing data.
Training the model: Training a stock price prediction model typically involves using a dataset of historical
stock price data to train a machine learning algorithm. The algorithm is trained to identify patterns and
relationships in the data that can be used to make predictions about future stock prices.To train the model, the
dataset is typically split into two sets: a training set and a testing set. The training set is used to train the
machine learning algorithm, while the testing set is used to evaluate the accuracy of the model's predictions.
Testing the dataset: Testing a stock price prediction model typically involves evaluating the model's ability to
accurately forecast future stock prices based on past historical data. This involves using a testing dataset that
the model has not been trained on to assess its performance. If the model's performance is satisfactory, it can
be deployed to make predictions on new data. However, if the model's performance is not satisfactory,
adjustments may need to be made, such as tweaking model parameters or using a different algorithm.
IV. IMPLEMENTATION
1. Dataset Preparation: The first step involves preparing the data for testing. This includes collecting the data,
cleaning and pre-processing it, and splitting it into training and testing sets.
2. Feature Selection: The next step is to select the features that are most relevant for predicting stock prices.
This involves analysing the data and identifying the key variables that affect stock prices.
3. Model Selection: Once the features have been selected, the next step is to choose the most appropriate
machine learning algorithm for the task. This could be a regression model, a neural network, or some other
machine learning technique.
4. Model Training: The next step is to train the model using the training set. This involves feeding the data into
the machine learning algorithm and adjusting its parameters until it produces accurate predictions.
5. Model Evaluation: Once the model has been trained, it needs to be evaluated using the testing set. This
involves comparing the predicted values with the actual values and calculating performance metrics such as
accuracy, precision.
6. Model Refinement: If the model does not perform well, it may need to be refined by adjusting the features,
selecting a different algorithm, or changing the parameters.
7. Final Testing: Once the model has been refined, it should be tested again using a separate testing set to ensure
that it performs consistently and accurately.
8. Deployment: Finally, the model can be deployed to predict stock prices in real-world scenarios. It is important
to monitor the model's performance over time and make adjustments as necessary to ensure that it continues to
produce accurate predictions.
VI. CONCLUSION
To anticipate the future prices of the stocks, it is important to design and create a machine learning system. Finding the
accurate result will eventually result in good profit. The challenge of creating stock price predictions with artificial
intelligence techniques is straightforward. Making a project that can come near to an accurate output, however, is a
difficult task. Fundamental analysis is the most accurate approach to forecast stock values over the long term. Technical
analysis is the most accurate method for making stock predictions in the near term.
Copyright to IJARSCT DOI: 10.48175/IJARSCT-8660 52
www.ijarsct.co.in
ISSN (Online) 2581-9429
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
REFERENCES
[1]. Abdulhamit Subasi, Akila Sarirete, Kholoud Bagedo, Faria Amir, Asmaa Shams, “Stock market prediction
using machine learning” 18th International learning and technology conference 2021.
[2]. Maithili patel, ”Stock price prediction using machine learning”.
[3]. Jai Jagwani, Manav Gupta, Hardik Sachdeva, Alka Singhal, “Stock Price Forecasting Using Data From Yahoo
Finance and Analysing Seasonal and Nonseasonal Trend”, 2018 IEEE.
[4]. Ishita Parmar, Lokesh Chouhan, Ridam Arora, Navanshu Agarwal, Shikhin Gupta, Himanshu Dhiman
SheirshSaxena,”Stock Market Prediction Using Machine Learning”, 2018 IEEE.
[5]. Youxun Lei, Yuchen Liu,” Kaiyue Zhou, Multi-Category Events Driven Stock Price Trends Prediction”,2018
IEEE.
[6]. Jeevan B, Vijaya kumar B P, Naresh E, Prashanth Kambli,” Share Price Prediction using Machine Learning
Technique”,2018 IEEE.
[7]. Jingyi Du, Jiacheng Wang, Qingli Liu, Kang Chen,” Forecasting stock price in two ways based on LSTM
neural network”, 2019 IEEE.
[8]. Shao-En Gao , Chuin-Mu Wang, Bo-Sheng Lin ,” Share Price Trend Prediction Using CRNN with LSTM
Structure”,2018 IEEE.
[9]. R. Yamini Nivetha, Dr. C. Dhaya, ” Developing a Prediction Model for Stock Analysis”, 2017 IEEE.
[10]. Zang Yeze, Wang Yiying,” Stock Price Prediction Based on Information Entropy and Artificial Neural
Network”, 2019 IEEE.
[11]. D. Mahendra Reddy, Y. Saileela, K. Ashok Kumar Reddy, H. Veeresh Babu,” Stock Market Analysis using
LSTM in Deep Learning”, International Journal of Engineering Research & Technology 2020.
[12]. Ehsan Emadzadeh, Saravanan Muthaiyah, AzadehNikfarjam, “Text mining approach for stock market
prediction”.