Design and Modeling of Stock Market Forecasting Using Hybrid Optimization Techniques

Main Article Content

Hemendra Kumar Trivedi
Abhigya Saxena


In this paper, an artificial neural network-based stock market prediction model was developed. Today, a lot of individuals are making predictions about the direction of the bond, currency, equity, and stock markets. Forecasting fluctuations in stock market values is quite difficult for businesspeople and industries. Forecasting future value changes on the stock markets is exceedingly difficult since there are so many different economic, political, and psychological factors at play. Stock market forecasting is also a difficult endeavour since it depends on so many various known and unknown variables. There are several ways used to try to anticipate the share price, including technical analysis, fundamental analysis, time series analysis, and statistical analysis; however, none of these approaches has been shown to be a consistently reliable prediction tool.

We built three alternative Adaptive Neuro-Fuzzy Inference System (ANFIS) models to compare the outcomes. The average of the tuned models is used to create an ensemble model. Although comparable applications have been attempted in the literature, the data set is extremely difficult to work with because it only contains sharp peaks and falls with no seasonality. In this study, fuzzy c-means clustering, subtractive clustering, and grid partitioning are all used. The experiments we ran were designed to assess the effectiveness of various construction techniques used to our ANFIS models. When evaluating the outcomes, the metrics of R-squared and mean standard error are mostly taken into consideration. In the experiments, R-squared values of over.90 are attained.

Article Details

How to Cite
Trivedi, H. K. ., & Saxena, A. . (2022). Design and Modeling of Stock Market Forecasting Using Hybrid Optimization Techniques. International Journal on Future Revolution in Computer Science &Amp; Communication Engineering, 8(4), 33–44.


Mehar Vijh, Deeksha Chandola, Vinay Anand Tikkiwal, Arun Kumar,Stock Closing Price Prediction using Machine Learning Techniques,Procedia Computer Science, Volume 167, 2020, Pages 599-606, ISSN 1877-0509.

Shahvaroughi Farahani, Milad and Seyed Hossein Razavi Hajiagha. “Forecasting stock price using integrated artificial neural network and metaheuristic algorithms compared to time series models.” Soft Computing (2021): 1 - 31.

Obthong, Mehtabhorn, Nongnuch Tantisantiwong, Watthanasak Jeamwatthanachai and Gary B. Wills. “A Survey on Machine Learning for Stock Price Prediction: Algorithms and Techniques.” FEMIB (2020).

Zhou, Zhongbao, Meng Gao, Qing Liu and Helu Xiao. “Forecasting stock price movements with multiple data sources: Evidence from stock market in China.” Physica A-statistical Mechanics and Its Applications 542 (2020): 123389.

Kumar, Gourav, Sanjeev Jain and Uday Pratap Singh. “Stock Market Forecasting Using Computational Intelligence: A Survey.” Archives of Computational Methods in Engineering (2020): 1-33.

Sedighi, Mojtaba, Hossein Jahangirnia, Mohsen Gharakhani and Saeed Farahani Fard. “A Novel Hybrid Model for Stock Price Forecasting Based on Metaheuristics and Support Vector Machine.” Data 4 (2019): 75.

Wong, Wk and Chew Ing Ming. “A Review on Metaheuristic Algorithms: Recent Trends, Benchmarking and Applications.” 2019 7th International Conference on Smart Computing & Communications (ICSCC) (2019): 1-5.

Liu, Guang and Xiaojie Wang. “A new metric for individual stock trend prediction.” Eng. Appl. Artif. Intell. 82 (2019): 1-12.

Lv, Dongdong, Shuhan Yuan, Meizi Li, Meizi Li and Yang Xiang. “An Empirical Study of Machine Learning Algorithms for Stock Daily Trading Strategy.” Mathematical Problems in Engineering (2019).

Reddy K, Srikanth, Lokesh Kumar Panwar, Bijaya Ketan Panigrahi and Rajesh Kumar. “Binary whale optimization algorithm: a new metaheuristic approach for profit-based unit commitment problems in competitive electricity markets.” Engineering Optimization 51 (2019): 369 - 389.

Ghanbari, Mohammadreza and Hamidreza Arian. “Forecasting Stock Market with Support Vector Regression and Butterfly Optimization Algorithm.” ArXiv abs/1905.11462 (2019).

Saravanan, R.. “Social Spider Optimization with Tumbling Effect Based Data Classification Model for Stock Price Prediction.” International Journal of Innovative Technology and Exploring Engineering (2019).

Kabir Ahmed, Muhammed, Gregory Maksha Wajiga, Nachamada Vachaku Blamah and Bala Modi. “Stock Market Forecasting Using ant Colony Optimization Based Algorithm.” American Journal of Mathematical and Computer Modelling (2019).

Sahoo, Sipra and Mihir Narayan Mohanty. “Stock Market Price Prediction Employing Artificial Neural Network Optimized by Gray Wolf Optimization.” Advances in Intelligent Systems and Computing (2019).

Pal, Shanoli Samui and Samarjit Kar. “Time series forecasting for stock market prediction through data discretization by fuzzistics and rule generation by rough set theory.” Math. Comput. Simul. 162 (2019): 18-30.

Zaman, Shafir. “Weak form market efficiency test of Bangladesh Stock Exchange: an empirical evidence from Dhaka Stock Exchange and Chittagong Stock Exchange.” Journal of Economics, Business & Accountancy Ventura (2019).

Goli, Alireza, Hassan Khademi Zareh, Reza Tavakkoli-Moghaddam and Ahmad Sadeghieh. “A comprehensive model of demand prediction based on hybrid artificial intelligence and metaheuristic algorithms: A case study in dairy industry.” Journal of Industrial and Systems Engineering 11 (2018): 190-203.

Chou, Jui-Sheng and Thi-Kha Nguyen. “Forward Forecast of Stock Price Using Sliding-Window Metaheuristic-Optimized Machine-Learning Regression.” IEEE Transactions on Industrial Informatics 14 (2018): 3132-3142.

Baek, Yujin and Ha Young Kim. “ModAugNet: A new forecasting framework for stock market index value with an overfitting prevention LSTM module and a prediction LSTM module.” Expert Syst. Appl. 113 (2018): 457-480.

Fahad, Ahmed, Abdulghani Ali Ahmed and Mohd Nizam Mohmad Kahar. “Network Intrusion Detection Framework Based on Whale Swarm Algorithm and Artificial Neural Network in Cloud Computing.” Intelligent Computing & Optimization (2018).

Safa, Mozhgan and Hossein Panahian. “P/E Modeling and Prediction of Firms Listed on the Tehran Stock Exchange; a New Approach to Harmony Search Algorithm and Neural Network Hybridization.” Iranian Journal of Management Studies 11 (2018): 769-793.

Sezer, Omer Berat, Murat A. Ozbayoglu and Erdogan Dogdu. “A Deep Neural-Network Based Stock Trading System Based on Evolutionary Optimized Technical Analysis Parameters.” Procedia Computer Science 114 (2017): 473-480.

Ghasemiyeh, Rahim, Reza Moghdani and Shib Sankar Sana. “A Hybrid Artificial Neural Network with Metaheuristic Algorithms for Predicting Stock Price.” Cybernetics and Systems 48 (2017): 365 - 392.

Chen, Yingjun and Yongtao Hao. “A feature weighted support vector machine and K-nearest neighbor algorithm for stock market indices prediction.” Expert Syst. Appl. 80 (2017): 340-355.

Chen, Yingjun and Yijie Hao. “Integrating principle component analysis and weighted support vector machine for stock trading signals prediction.” Neurocomputing 321 (2018): 381-402.

Hu, Hongping, Li Tang, Shuhua Zhang and Haiyan Wang. “Predicting the direction of stock markets using optimized neural networks with Google Trends.” Neurocomputing 285 (2018): 188-195.

Rouf, N.; Malik, M.B.; Arif, T.; Sharma, S.; Singh, S.; Aich, S.; Kim, H.-C. Stock Market Prediction Using Machine Learning Techniques: A Decade Survey on Methodologies, Recent Developments, and Future Directions. Electronics 2021, 10, 2717. electronics10212717.

Ajinkya Rajkar , Aayush Kumaria , Aniket Raut , Nilima Kulkarni, 2021, Stock Market Price Prediction and Analysis, International Journal Of Engineering Research & Technology (IJERT) Volume 10, Issue 06 (June 2021).

Sandhu, O. Stock market trend prediction using regression errors. (2021)

Alaria, S. K. "A.. Raj, V. Sharma, and V. Kumar.“Simulation and Analysis of Hand Gesture Recognition for Indian Sign Language Using CNN”." International Journal on Recent and Innovation Trends in Computing and Communication 10, no. 4 (2022): 10-14.

Rajput, B. S. .; Gangele, A. .; Alaria, S. K. .; Raj, A. . Design Simulation and Analysis of Deep Convolutional Neural Network Based Complex Image Classification System. ijfrcsce 2022, 8, 86-91.

Alaria, S. K. . Report on Various Methodologies of API Authentication Testing: Lifecycle, Application Use and Challenges. ijfrcsce 2021, 7, 01-04.

Satish Kumar Alaria. Feature Based Sentiment Analysis on Movie Review Using SentiWordNet. IJRITCC 2016, 4, 12-15.