Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Prof. Rahulkumar Patel, Devendra Joshi, Aniket Patil, Prajakta Yeole, Dhanashri Wani
DOI Link: https://doi.org/10.22214/ijraset.2023.53954
Certificate: View Certificate
Stock trading is one of the most important activities in the world of finance. Market forecasting is the act of trying to determine the future price of other financial instruments traded on the financial exchange . This document explains the forecasting of the market using machine learning. Most stockbrokers use technical and fundamental or time series analysis when making stock forecasts. The programming language used to predict stock markets using machine learning is Python. In this paper, we propose a machine learning (ML) approach that will learn from the data available at yfinance, and derive the intelligence and then use the information gained to make accurate predictions. In this case, this study uses a machine learning technique called LSTM to predict the closing price of stocks of five different stocks using the daily and price last minute frequency.
I. INTRODUCTION
Basically, many traders with a lot of money on the exchange buy stocks and shares at cheap prices and then sell them at high prices. The difference between the stock market forecast is nothing new, but the issue has been discussed by many organizations. Stock analysis, where investors look at the value of products before investors invest in stocks, and business, trade, business mood, etc. . decides whether to invest or not. The Analysis is the transformation of market production statistics of the product, such as historical prices and volumes, through market studies.The advancement of machine learning in many industries in recent years has encouraged many traders to use machine learning in this field, and some have achieved very good results. This article will create a financial forecast program that will include all historical cost data and the data will be treated as training for the program. The main purpose of forecasting is to reduce uncertainty about investment decisions. The market is trending, which means that with tomorrow's price, your best guess is today's price. Needless to say, the stock index is very difficult to predict because requires an accurate forecasting model of market fluctuations.The stock market has changed a lot and is affecting the beliefs of traders. Due to the importance of financial world, known parameters (before closing date, P/E, etc.) and unknown (election results, rumors, etc.). There are many attempts to use machine learning to predict stock prices.
II. LITERATURE REVIEW
From the literature survey, it is clear that the machine learning techniques is applied for stock market vaticination across the world. Compared to contemporary vaticination techniques, these techniques are much more accurate
The research work done by Lufuno Ronald Marwala A dissertation submitted to the Faculty of Engineering and the Built Environment, University of the Witwatersrand, Johannesburg, in fulfilment of the requirements for the degree of Master of Science in Engineering. The weak form of Efficient Market hypothesis (EMH) states that it is impossible to forecast the future price of an asset based on the information contained in the historical prices of an asset. This means that the market behaves as a random walk and as a result makes forecasting impossible
The research work done by Dharmaraja Selvamuthu, Vineet Kumar and Abhishek Mishra Department of Mathematics, Indian Institute of Technology Delhi, Hauz Khas, New Delhi 110016, India. A stock market is a platform for trading of a company’s stocks and derivatives at an agreed price. Supply and demand of shares drive the stock market. In any country stock market is one of the most emerging sectors. Nowadays, many people are indirectly or directly related to this sector. Therefore, it becomes essential to know about market trends. Thus, with the development of the stock 5 market, people are interested in forecasting stock price. But, due to dynamic nature and liable to quick changes in stock price, prediction of the stock price becomes a challenging task.
The research work done by Manh Ha Duong Boriss Siliverstovs. Investigating the relation between equity prices and aggregate investment in major European countries including France, Germany, Italy, the Netherlands and the United Kingdom.
Increasing integration of European financial markets is likely to result in even stronger correlation between equity prices in different European countries. This process can also lead to convergence in economic development across European countries if developments in stock markets influence real economic components, such as investment and consumption. Indeed, our vector autoregressive models suggest that the positive correlation between changes equity prices and investment is, in general, significant. Hence, 6 monetary authorities should monitor reactions of share prices to monetary policy and their effects on the business cycle.
The research work done by Hyeong Kyu Choi, B.A Student Dept. of Business Administration Korea University Seoul, Korea. Predicting the price correlation of two assets for future time periods is important in portfolio optimization. We apply LSTM recurrent neural networks (RNN) in predicting the stock price correlation coefficient of two individual stocks. RNN’s are competent in understanding temporal dependencies. The use of LSTM cells further enhances its long-term predictive properties.
III. METHODOLOGY
The following steps to be taken while defining the methodology of project visualization and forecasting of stocks using python an ML:
We propose an online web-based application that uses a learning model to estimate the value of items supplied. The challenge of this project is to predict the future open price of of a particular stock at a particular time in the future. For this project, we will use a Long Term Memory network, commonly known as LSTM, to predict the closing price of the stock using information about past prices. We use keras fed into the LSTM model to estimate the supply price using historical quoted prices and trading volume and find the estimated price, significance over time, and best of model. The model predicts 30 data points as input data and outputs the last data points .The model is installed as the backend of the website with the data integration function. Additional methods are roughly divided into two groups: statistical methods and artificial intelligence. The methods include logistic regression models and multilayer perceptrons, convolutional neural networks, single-layer LSTMs, support vector machines, recurrent neural networks, etc. They include artificial intelligence methods that contain and use short-term (LSTM).
IV. ARCHITECTURE
The system architecture of our project is mainly divided in some parts like data training data testing, splitting data into MinMaxScaler for feeding into LSTM model.
Fig1. Architecture of project
Predicting the future has become the dream of most businesses and people because of the benefits of predicting the future. The stock price forecast will also be useful for those who want to learn about the business forecast. We studied 2 models, the Linear Regression model and the LSTM model, in which the LSTM model has better estimation compared to the Linear Regression model. We predict the closing price of the selected products, we have developed an application that uses the LSTM algorithm to predict the closing price. We use Yahoo Finance data for certain companies such as \"adanient.ns\", \"tatasteel.ns\", \"pageind.ns\", \"eichermot.ns”, “infy.ns”and get very good accuracy for this product. In the future, we can expand this application to predict the cryptocurrency market and also add theories for better predictions. We cannot assume that it is a completely correct model because during the run of this project we learned that economic forecasting is impossible due to many errors. So this is just a educational level model for understanding the concepts of time series forecasting and working with real time model.
[1] Lufuno Ronald Marwala A dissertation submitted to the Faculty of Engineering and the Built Environment, University of the Witwatersrand, Johannesburg, in fulfilment of the requirements for the degree of Master of Science in Engineering – “Forecasting the Stock Market Index Using Artificial Intelligence Techniques”. [2] “Indian stock market prediction using artificial neural networks on tick data” Research paper of Dharmaraja Selvamutu, Vineet kumar and Abhishek Mishra Department of mathematics, Indian institute of technology Delhi, Hauz khas, New delhi 110016 [3] Research paper on the “stock market and investment” by Manh Ha Duong Boriss siliverstoves which shows the relation between equity prices and aggregate investment [4] “Automated stock price prediction using machine learning” by mariam Moukalled wassim E1-Hajj Mohamad jaber computer science department, American university of Beiru [5] “stock price correlation coefficient prediction with ARIMA_LSTM Hybrid model” by, Hyeong kyu choi, B.A student department of business administration Korea university seoul, Korea [6] “Event representation learning Enhanced with external common-sense knowledge” by Xiao ding, kuo liao, Ting Liu, Zhongyang Li, Junwen Duan reserch center for social computing and information retrieval Harbin institute of technology, China. [7] “Forecasting directional movements of stock prices for intraday trading using LSTM and random forests” by pushpendu Ghosh, Airel Neufeld, Jajati keshri school department of computer science and information systems, BITS pilani k. k. Birla Goa campus, India. Division of Mathematical Sciences, Nanyang Technological University, Singapore Department of Mathematics, BITS Pilani K.K.Birla Goa campus, India [8] “A Deep Reinforcement Learning Library for Automated stock trading in quantitative finance” by Xiao-Yang Liu1 Hongyang Yang,Qian Chen,Runjia ZhangLiuqing Yang Bowen Xiao Christina Dan Wang Electrical Engineering, Department of Statistics, Computer Science, Columbia University, 3AI4Finance LLC., USA, Ion Media Networks [9] “An innovative neural network approach for stock market prediction” by Xiongwen pang, yangiang Zhou, Pan wang, Weiwei Lin. [10] “An intelligent technoques for stock market prediction” by M. Mekavel anik, M.Shamsul Arefin (B) Department of computer science and engineering Chittagong university of engineering and technology, Chittagong Bangladesh. [11] Stock Price Prediction Using LSTM on Indian Share Market by Achyut Ghosh, Soumik Bose1, Giridhar Maji, Narayan C. Debnath, Soumya Sen [12] S. Selvin, R. Vinayakumar, E. A. Gopalkrishnan, V. K. Menon and K. P. Soman, \"Stock price prediction using LSTM, RNN and CNN-sliding window model,\" in International Conference on Advances in Computing, Communications and Informatics, 2017 [13] Murtaza Roondiwala, Harshal Patel, Shraddha Varma, “Predicting Stock Prices Using LSTM” in Undergraduate Engineering Students, Department of Information Technology, Mumbai University, 2015. [14] Ishita Parmar, Navanshu Agarwal, Sheirsh Saxena, Ridam Arora, Shikhin Gupta, Himanshu Dhiman, Lokesh Chouhan Department of Computer Science and Engineering National Institute of Technology, Hamirpur – 177005, INDIA - Stock Market Prediction Using Machine Learning. [15] Pranav Bhat Electronics and Telecommunication Department, Maharashtra Institute of Technology, Pune. Savitribai Phule Pune University - A Machine Learning Model for Stock Market Prediction. [16] Anurag Sinha Department of computer science, Student, Amity University Jharkhand Ranchi, Jharkhand (India), 834001 - Stock Market Prediction Using Machine Learning. [17] Asset Durmagambetov currently works at the mathematics, CNTFI. Asset does research in Theory of Computation and Computing in Mathematics, Natural Science, Engineering and Medicine. Their current project is \'The Riemann Hypothesis-Millennium Prize Problems\' - stock market predictions. [18] Huicheng Liu Department of Electrical and Computer Engineering Queen’s University, Canada - Leveraging Financial News for Stock Trend Prediction with Attention-Based Recurrent Neural Network. [19] M. Nabipour Faculty of Mechanical Engineering, Tarbiat Modares University, 14115-143 Tehran, Iran; Mojtaba.nabipour@modares.ac.ir - Deep Learning for Stock Market prediction
Copyright © 2023 Prof. Rahulkumar Patel, Devendra Joshi, Aniket Patil, Prajakta Yeole, Dhanashri Wani. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET53954
Publish Date : 2023-06-11
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here