Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: S. Sreevishnu, R. Shyam, Ms. S. Saraswathi. M. E
DOI Link: https://doi.org/10.22214/ijraset.2024.60282
Certificate: View Certificate
The goal of stock market prediction is to forecast a company\'s financial stocks\' future worth. The application of machine learning, which creates predictions based on the values of the current stock market indices by training on their prior values, is a recent trend in stock market prediction technologies. Machine learning utilises many models to facilitate accurate and reliable prediction. The study focuses on stock value prediction using regression and LSTM-based machine learning. Considered factors are volume, low, high, open, and closed. We also employ algorithmic trading, which is a technique for automatically executing orders based on pre-programmed trading instructions that take volume, price, and time into account. This kind of trading aims to take advantage of a computer\'s speed and computational power in comparison to human traders. Algorithmic trading has become more popular in the twenty-first century, prompting traders to respond. According to a 2019 research, 92% of traders use algorithms rather than people. The moving average convergence & divergence and the relative strength index are our primary tools. One technical tool employed in financial market analysis is the relative strength index, or RSI. Charting a stock\'s historical and present strength or weakness with retail and institutional traders is the goal. Investment banks, mutual funds, pension funds, and hedge funds all utilise it extensively when they need to perform trades. based on the closing prices of a recent trading period, too fast for a human or the market. It is important to distinguish the indicator from relative strength. The RSI measures the speed and size of price changes and is categorised as a momentum oscillator. The rate at which prices rise or fall is known as momentum. The ratio of higher closes to lower closes, where closures are defined as averages of absolute values of price changes, is the relative strength, or RS. The RSI determines momentum by dividing higher closes by overall closes, or stocks with more or stronger positive moves. The RSI is most commonly employed during a 14-day period and is scaled from 0 to 100, with 70 and 30 representing the high and low readings, respectively. Alternately shorter or longer outlooks are associated with shorter or longer time frames. Although they happen less frequently, high and low levels—80 and 20, or 90 and 10—indicate increased momentum. J. Welles Wilder created the relative strength index, which was first published in the June 1978 issue of commodities magazine and in his 1978 book New concepts in technical trading systems, and in commodities magazine in the June 1978 issue.
I. INTRODUCTION
A financial instrument used to symbolise ownership in a corporation that represents a proportionate assertion on its assets and earnings is referred to as a stock or share, often known as a company's equity. A shareholder who owns stock is considered to own a portion of the business, which is equivalent to the number of shares held relative to the total number of outstanding shares of the company. An individual holding 100,000 shares in a business with one million outstanding shares, for instance, would own 10% of the company. The majority of firms have outstanding shares with values in the billions or even millions of dollars. Technical indications are also utilised. A technical indicator in financial technical analysis is a mathematical computation that forecasts the direction of financial markets using historical price, volume, or, in the case of future contracts, open interest data.
A key component of technical analysis are technical indicators, which are usually represented as chart patterns with the aim of predicting the direction of the market.
Typically, indicators are superimposed over price chart data to show the direction of the price movement and if the price is in a "overbought" or "oversold" state.
To improve results, traders have created numerous technical indicators and are constantly creating new versions. In order to determine how well new indicators would have predicted future occurrences, they are frequently back tested using historical price and volume data. A fake sign in the technical analysis suggests future value developments, which presents an inaccurate picture of the actual financial situation. A number of factors, such as timing slacks, inconsistent information sources, smoothing techniques, or even the computation used to generate the pointer, might result in false signals. By examining price movements and chart patterns in search of potential trading opportunities, technical analysis attempts to capture the psychology and sentiment of the market. Since indicators are not infallible, traders should exercise caution when selecting traders only on the basis of them.
II. EXISTING SYSTEM
Under Individual Grant AP086801, the Korea Institute for Advanced Study (KIAS) provided assistance for Eunho Koo's study. Grant NRF - 2017R1E1A1A03070886 from the National Research Foundation of Korea, issued by the Korea Government, provided funding for Geonwoo Kim's research. Precisely estimating volatility is among the most crucial responsibilities in making financial decisions.
Recently, hybrid models that combine GARCH-type models with artificial neural networks have been constructed, and the models' performance benefits have been proven to be exceptional.
III. PROPOSED SYSTEM
One of the most popular methods of managing finances is stock investing, and many individuals utilise technical indicators to determine when to purchase and sell stocks. This study suggests a unique way to make the most out of the widely used technical indicator, the Relative Strength Index (RSI). To identify the optimal approach and maximise profit, we first broaden all the possibilities in RSI by eliminating the constraint of the classic RSI's default parameters.
IV. ALGORITHM USED
The source of the dataset was Yahoo Finance. We regarded the data from Oracle Corporation (ORCL) as moderately volatile and the data from Intuit Inc. (INTU), which was likewise gathered from Yahoo Finance, as highly fluctuating.
We gathered data for 20 years (from June 30, 2000, to July 21, 2020) for each of these datasets, and there are 5044 cases total in each dataset Traded volume, date, adjusted close price, high price, low price, close price, and adjusted close price are the seven properties that are present in every dataset.
The datasets that were gathered contained very few null values. It can effectively handle the null values because they have the potential to upset the real pattern of the price movement. Using the mean of the price for the preceding 30 days is a commonly used technique to replace the null value. This is how we resolved the problem. Additionally, we gathered information in one-day time interval format. Thus, pre-processing was not required for our one-day proposed Model. Nevertheless, we had to transform one-day time interval data into three-day and five-day time-interval datasets for the two-day and five-day models.
We modified things in the following ways for this reason.
Yahoofinancer.com is the source of the price data sets for the stock tickers because it is the API that is being utilised. Preprocessing involves resizing the photos in accordance with system specifications and filtering the price data in accordance with those requirements before pushing the data into the array and processing it using an LSTM model.
The data is divided into 80 and 20 percent to satisfy the model's needs. Twenty percent of the data is used for testing, while the remaining eighty percent is used for training. The construction of the trading model, which is done using the RSI algorithm, is the next stage. Testing is done to make sure the project is viable. Following completion of all of this work, the model is implemented.
V. MODULE DESCRIPTION
1) Step1: Gathering data
Yahoo Finance was the source of the dataset.
We regarded the data from Oracle Corporation (ORCL) as moderately volatile and the data from Intel lit Inc. (INTU), which was also gathered from Yahoo Finance, as highly fluctuating. We have 5044 instances in each of these datasets, which we gathered during a 20-year period (December 9, 2009, to December 31, 2021). The date, open price, low price, close price, adjusted close price, and traded volume are the seven attributes that are present in each dataset.
import numpy
import ta
import pandas
9) Step 9: Obtaining the Information
10) Step 10: Describe the process by which trigger signals are obtained
11) Step 11: Identifying the Buy and Sell Triggers
12) Step:12: Conditions for buying and selling (RSI, MACD, Stochastic, and Trigger)
13) Step13: Purchasing and Disposing of Dates
14) Step 14: Steer clear of multiple or useless positions
15) Step 15: Calculating profits
Step 16: Signal Visualisation
VI. RESULT
We come to the conclusion that a profit between 15% and 40% is really not that bad. There are numerous methods to make this programme better, including: Adjust the practice variable first. 1) This variable determines how long the trade will be made after the RSI value. Play around with this value to discover a trend and improve it for greater outcomes. 2) Locate the top business Which stock performs best according to this algorithm? To assess, try this programme out on several businesses. 3) An improved approach introducing the ideas of smart money to eliminate the need for indicators. 4) Applying risk management allows us to remain in the market for a longer period of time without depleting user cash.
[1] B. G. Malkiel and E. F. Fama, “Efficient capital markets: A review of theory and empirical work,” The journal of Finance, vol. 25, no. 2, pp. 383–417, 1970 [2] Hegazy O, Soliman OS, Salam MA (2013) A machine learning model for stock market prediction. Int J Computer Sci Telecommunication (IJCST) 4(12 [3] Naeini MP, Taremian H, Hashemi HB (2010) Stock market value prediction using neural networks. IEEE [4] S. K. Chandar, “Grey wolf optimization neural network model for stock price prediction,” Soft Com-putting, vol. 25, no. 1, pp. 649–658, 2021. [5] Naeini MP, Taremian H, Hashemi HB (2010) Stock market value prediction using neural networks. IEEE.
Copyright © 2024 S. Sreevishnu, R. Shyam, Ms. S. Saraswathi. M. E. 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 : IJRASET60282
Publish Date : 2024-04-14
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here