Stock Market Technical Indicator Optimization by Genetic Algorithms

2020 ◽  
Vol 17 (4) ◽  
pp. 44-60
Author(s):  
Alberto Antonio Agudelo Aguirre ◽  
Ricardo Alfredo Rojas Medina ◽  
Néstor Darío Duque Méndez

The implementation of tools such as Genetic Algorithms has not been exploited for asset price prediction despite their power, robustness, and potential application in the stock market. This paper aims to fill the gap existing in the literature on the use of Genetic Algorithms for predicting asset pricing of investment strategies into stock markets and investigate its advantages over its peers Buy & Hold and traditional technical analysis. The Genetic Algorithms strategy applied to the MACD was carried out in two different validation periods and sought to optimize the parameters that generate the buy-sell signals. The performance between the machine learning-based approach, technical analysis with the MACD and B&H was compared. The results suggest that it is possible to find optimal values of the technical indicator parameters that result in a higher return on investment through Genetic Algorithms, beating the traditional technical analysis and B&H by around 4%. This study offers a new insight for practitioners, traders, and finance researchers to take advantage of Genetic Algorithms for trading rules application in forecasting financial asset returns under a more efficient and robust methodology based on historical data analysis.


Kybernetes ◽  
2021 ◽  
Vol ahead-of-print (ahead-of-print) ◽  
Author(s):  
Shilpa B L ◽  
Shambhavi B R

PurposeStock market forecasters are focusing to create a positive approach for predicting the stock price. The fundamental principle of an effective stock market prediction is not only to produce the maximum outcomes but also to reduce the unreliable stock price estimate. In the stock market, sentiment analysis enables people for making educated decisions regarding the investment in a business. Moreover, the stock analysis identifies the business of an organization or a company. In fact, the prediction of stock prices is more complex due to high volatile nature that varies a large range of investor sentiment, economic and political factors, changes in leadership and other factors. This prediction often becomes ineffective, while considering only the historical data or textural information. Attempts are made to make the prediction more precise with the news sentiment along with the stock price information.Design/methodology/approachThis paper introduces a prediction framework via sentiment analysis. Thereby, the stock data and news sentiment data are also considered. From the stock data, technical indicator-based features like moving average convergence divergence (MACD), relative strength index (RSI) and moving average (MA) are extracted. At the same time, the news data are processed to determine the sentiments by certain processes like (1) pre-processing, where keyword extraction and sentiment categorization process takes place; (2) keyword extraction, where WordNet and sentiment categorization process is done; (3) feature extraction, where Proposed holoentropy based features is extracted. (4) Classification, deep neural network is used that returns the sentiment output. To make the system more accurate on predicting the sentiment, the training of NN is carried out by self-improved whale optimization algorithm (SIWOA). Finally, optimized deep belief network (DBN) is used to predict the stock that considers the features of stock data and sentiment results from news data. Here, the weights of DBN are tuned by the new SIWOA.FindingsThe performance of the adopted scheme is computed over the existing models in terms of certain measures. The stock dataset includes two companies such as Reliance Communications and Relaxo Footwear. In addition, each company consists of three datasets (a) in daily option, set start day 1-1-2019 and end day 1-12-2020, (b) in monthly option, set start Jan 2000 and end Dec 2020 and (c) in yearly option, set year 2000. Moreover, the adopted NN + DBN + SIWOA model was computed over the traditional classifiers like LSTM, NN + RF, NN + MLP and NN + SVM; also, it was compared over the existing optimization algorithms like NN + DBN + MFO, NN + DBN + CSA, NN + DBN + WOA and NN + DBN + PSO, correspondingly. Further, the performance was calculated based on the learning percentage that ranges from 60, 70, 80 and 90 in terms of certain measures like MAE, MSE and RMSE for six datasets. On observing the graph, the MAE of the adopted NN + DBN + SIWOA model was 91.67, 80, 91.11 and 93.33% superior to the existing classifiers like LSTM, NN + RF, NN + MLP and NN + SVM, respectively for dataset 1. The proposed NN + DBN + SIWOA method holds minimum MAE value of (∼0.21) at learning percentage 80 for dataset 1; whereas, the traditional models holds the value for NN + DBN + CSA (∼1.20), NN + DBN + MFO (∼1.21), NN + DBN + PSO (∼0.23) and NN + DBN + WOA (∼0.25), respectively. From the table, it was clear that the RMSRE of the proposed NN + DBN + SIWOA model was 3.14, 1.08, 1.38 and 15.28% better than the existing classifiers like LSTM, NN + RF, NN + MLP and NN + SVM, respectively, for dataset 6. In addition, he MSE of the adopted NN + DBN + SIWOA method attain lower values (∼54944.41) for dataset 2 than other existing schemes like NN + DBN + CSA(∼9.43), NN + DBN + MFO (∼56728.68), NN + DBN + PSO (∼2.95) and NN + DBN + WOA (∼56767.88), respectively.Originality/valueThis paper has introduced a prediction framework via sentiment analysis. Thereby, along with the stock data and news sentiment data were also considered. From the stock data, technical indicator based features like MACD, RSI and MA are extracted. Therefore, the proposed work was said to be much appropriate for stock market prediction.


Author(s):  
Fernando Fernández Rodríguez ◽  
Christian González Martel ◽  
Simón Javier Sosvilla Rivero

2019 ◽  
Vol 22 ◽  
pp. 15-21 ◽  
Author(s):  
Yunus Emre Midilli ◽  
Sergei Parshutin

Neural networks are commonly used methods in stock market predictions. From the earlier studies in the literature, the requirement of optimising neural networks has been emphasised to increase the profitability, accuracy and performance of neural networks in exchange rate prediction. The paper proposes a literature review of two techniques to optimise neural networks in stock market predictions: genetic algorithms and design of experiments. These two methods have been discussed in three approaches to optimise the following aspects of neural networks: variables, input layer and hyper-parameters.


2018 ◽  
Vol 7 (3.21) ◽  
pp. 109
Author(s):  
Kelvin Lee Yong Ming ◽  
Mohamad Jais

Technical analysis is an analysis that widely applied by the investor in the stock market. However, various corporate announcements could cause the market to react, and the most significant corporate announcement is the earnings announcement (1). Thus, this study examines the effectiveness of technical analysis signals around the earning announcements dates in Malaysian stock market. In doing so, this study applied and tested four technical indicators, namely Simple Moving Average (SMA), Relative Strength Index (RSI), Stochastic (K line), and Moving Average Convergence/Divergence (MACD) in Malaysian stock market. The sample of this study consisted of 30 largest capitalization companies from the main market of Kuala Lumpur Stock Exchange (KLSE). Meanwhile, the sample period covered from 2nd January 2014 to 31st March 2016. This study found that Moving Average Convergence/Divergence (MACD) significantly produced higher returns as compared to the other technical indicator before the earning announcement dates in financial year 2014 and 2015. The combined indicator of MA-MACD also found to have higher return in financial year 2015. The findings conclude that the technical analysis signals can be used to generate returns before earning announcement dates.  


Sign in / Sign up

Export Citation Format

Share Document