IDEAS home Printed from https://ideas.repec.org/a/gam/jdataj/v7y2022i5p51-d797574.html
   My bibliography  Save this article

A Hybrid Stock Price Prediction Model Based on PRE and Deep Neural Network

Author

Listed:
  • Srivinay

    (Department of Computer Science and Engineering, Presidency University, Bangalore 560065, India
    These authors contributed equally to this work.)

  • B. C. Manujakshi

    (Department of Computer Science and Engineering, Presidency University, Bangalore 560065, India
    These authors contributed equally to this work.)

  • Mohan Govindsa Kabadi

    (Department of Computer Science and Engineering, GITAM School of Technology, GITAM (Deemed to Be University), Bangalore 561203, India
    These authors contributed equally to this work.)

  • Nagaraj Naik

    (Nitte Meenakshi Institute of Technology, Bangalore 560064, India
    These authors contributed equally to this work.)

Abstract

Stock prices are volatile due to different factors that are involved in the stock market, such as geopolitical tension, company earnings, and commodity prices, affecting stock price. Sometimes stock prices react to domestic uncertainty such as reserve bank policy, government policy, inflation, and global market uncertainty. The volatility estimation of stock is one of the challenging tasks for traders. Accurate prediction of stock price helps investors to reduce the risk in portfolio or investment. Stock prices are nonlinear. To deal with nonlinearity in data, we propose a hybrid stock prediction model using the prediction rule ensembles (PRE) technique and deep neural network (DNN). First, stock technical indicators are considered to identify the uptrend in stock prices. We considered moving average technical indicators: moving average 20 days, moving average 50 days, and moving average 200 days. Second, using the PRE technique-computed different rules for stock prediction, we selected the rules with the lowest root mean square error (RMSE) score. Third, the three-layer DNN is considered for stock prediction. We have fine-tuned the hyperparameters of DNN, such as the number of layers, learning rate, neurons, and number of epochs in the model. Fourth, the average results of the PRE and DNN prediction model are combined. The hybrid stock prediction model results are computed using the mean absolute error (MAE) and RMSE metric. The performance of the hybrid stock prediction model is better than the single prediction model, namely DNN and ANN, with a 5% to 7% improvement in RMSE score. The Indian stock price data are considered for the work.

Suggested Citation

  • Srivinay & B. C. Manujakshi & Mohan Govindsa Kabadi & Nagaraj Naik, 2022. "A Hybrid Stock Price Prediction Model Based on PRE and Deep Neural Network," Data, MDPI, vol. 7(5), pages 1-11, April.
  • Handle: RePEc:gam:jdataj:v:7:y:2022:i:5:p:51-:d:797574
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2306-5729/7/5/51/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2306-5729/7/5/51/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Mojtaba Sedighi & Hossein Jahangirnia & Mohsen Gharakhani & Saeed Farahani Fard, 2019. "A Novel Hybrid Model for Stock Price Forecasting Based on Metaheuristics and Support Vector Machine," Data, MDPI, vol. 4(2), pages 1-28, May.
    2. Ao Kong & Hongliang Zhu & Robert Azencott, 2021. "Predicting intraday jumps in stock prices using liquidity measures and technical indicators," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(3), pages 416-438, April.
    3. Jaideep Singh & Matloob Khushi, 2021. "Feature Learning for Stock Price Prediction Shows a Significant Role of Analyst Rating," Papers 2103.09106, arXiv.org.
    4. S. G. M. Fifield & D. M. Power & D. G. S. Knipe, 2008. "The performance of moving average rules in emerging stock markets," Applied Financial Economics, Taylor & Francis Journals, vol. 18(19), pages 1515-1532.
    5. Zexin Hu & Yiqi Zhao & Matloob Khushi, 2021. "A Survey of Forex and Stock Price Prediction Using Deep Learning," Papers 2103.09750, arXiv.org.
    6. Jun Zhang & Lan Li & Wei Chen, 2021. "Predicting Stock Price Using Two-Stage Machine Learning Techniques," Computational Economics, Springer;Society for Computational Economics, vol. 57(4), pages 1237-1261, April.
    7. Hu, Yan & Ni, Jian & Wen, Liu, 2020. "A hybrid deep learning approach by integrating LSTM-ANN networks with GARCH model for copper price volatility prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 557(C).
    8. Xiao Zhong & David Enke, 2019. "Predicting the daily return direction of the stock market using hybrid machine learning algorithms," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 5(1), pages 1-20, December.
    9. Zezheng Zhang & Matloob Khushi, 2020. "GA-MSSR: Genetic Algorithm Maximizing Sharpe and Sterling Ratio Method for RoboTrading," Papers 2008.09471, arXiv.org.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Chuen Yik Kang & Chin Poo Lee & Kian Ming Lim, 2022. "Cryptocurrency Price Prediction with Convolutional Neural Network and Stacked Gated Recurrent Unit," Data, MDPI, vol. 7(11), pages 1-13, October.
    2. Rasoul Amirzadeh & Asef Nazari & Dhananjay Thiruvady & Mong Shan Ee, 2023. "Causal Feature Engineering of Price Directions of Cryptocurrencies using Dynamic Bayesian Networks," Papers 2306.08157, arXiv.org, revised Apr 2024.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Fateme Shahabi Nejad & Mohammad Mehdi Ebadzadeh, 2023. "Stock market forecasting using DRAGAN and feature matching," Papers 2301.05693, arXiv.org.
    2. Yunze Li & Yanan Xie & Chen Yu & Fangxing Yu & Bo Jiang & Matloob Khushi, 2021. "Feature importance recap and stacking models for forex price prediction," Papers 2107.14092, arXiv.org.
    3. Zexin Hu & Yiqi Zhao & Matloob Khushi, 2021. "A Survey of Forex and Stock Price Prediction Using Deep Learning," Papers 2103.09750, arXiv.org.
    4. Sevcan Uzun & Ahmet Sensoy & Duc Khuong Nguyen, 2023. "Jump forecasting in foreign exchange markets: A high‐frequency analysis," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(3), pages 578-624, April.
    5. Yugo Fujimoto & Kei Nakagawa & Kentaro Imajo & Kentaro Minami, 2022. "Uncertainty Aware Trader-Company Method: Interpretable Stock Price Prediction Capturing Uncertainty," Papers 2210.17030, arXiv.org, revised Nov 2022.
    6. Akhilesh Prasad & Arumugam Seetharaman, 2021. "Importance of Machine Learning in Making Investment Decision in Stock Market," Vikalpa: The Journal for Decision Makers, , vol. 46(4), pages 209-222, December.
    7. Mukul Jaggi & Priyanka Mandal & Shreya Narang & Usman Naseem & Matloob Khushi, 2021. "Text Mining of Stocktwits Data for Predicting Stock Prices," Papers 2103.16388, arXiv.org.
    8. Jaideep Singh & Matloob Khushi, 2021. "Feature Learning for Stock Price Prediction Shows a Significant Role of Analyst Rating," Papers 2103.09106, arXiv.org.
    9. Dushmanta Kumar Padhi & Neelamadhab Padhy & Akash Kumar Bhoi & Jana Shafi & Muhammad Fazal Ijaz, 2021. "A Fusion Framework for Forecasting Financial Market Direction Using Enhanced Ensemble Models and Technical Indicators," Mathematics, MDPI, vol. 9(21), pages 1-31, October.
    10. Mimansa Rana & Nanxiang Mao & Ming Ao & Xiaohui Wu & Poning Liang & Matloob Khushi, 2021. "Clustering and attention model based for intelligent trading," Papers 2107.06782, arXiv.org, revised Aug 2021.
    11. Ghada A. Altarawneh & Ahmad B. Hassanat & Ahmad S. Tarawneh & Ahmad Abadleh & Malek Alrashidi & Mansoor Alghamdi, 2022. "Stock Price Forecasting for Jordan Insurance Companies Amid the COVID-19 Pandemic Utilizing Off-the-Shelf Technical Analysis Methods," Economies, MDPI, vol. 10(2), pages 1-18, February.
    12. Zhang, Hong & Nguyen, Hoang & Bui, Xuan-Nam & Pradhan, Biswajeet & Mai, Ngoc-Luan & Vu, Diep-Anh, 2021. "Proposing two novel hybrid intelligence models for forecasting copper price based on extreme learning machine and meta-heuristic algorithms," Resources Policy, Elsevier, vol. 73(C).
    13. Muhammad Ateeq ur REHMAN & Furman ALI & Shang XIE, 2022. "Impact of Foreign Investment News on the Return, Cost of Equity and Cash Flow Activities," Journal for Economic Forecasting, Institute for Economic Forecasting, vol. 0(4), pages 112-127, December.
    14. Karasu, Seçkin & Altan, Aytaç, 2022. "Crude oil time series prediction model based on LSTM network with chaotic Henry gas solubility optimization," Energy, Elsevier, vol. 242(C).
    15. Alexey Mikhaylov & Hasan Dinçer & Serhat Yüksel, 2023. "Analysis of financial development and open innovation oriented fintech potential for emerging economies using an integrated decision-making approach of MF-X-DMA and golden cut bipolar q-ROFSs," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-34, December.
    16. Jian Guo & Saizhuo Wang & Lionel M. Ni & Heung-Yeung Shum, 2022. "Quant 4.0: Engineering Quantitative Investment with Automated, Explainable and Knowledge-driven Artificial Intelligence," Papers 2301.04020, arXiv.org.
    17. Goel Himanshu & Agarwal Monika & Chhabra Meghna & Som Bhupender Kumar, 2023. "The Predictive Power of Macroeconomic Variables on the Indian Stock Market Utilizing an Ann Model Approach: An Empirical Investigation Based on BSE Sensex," Folia Oeconomica Stetinensia, Sciendo, vol. 23(2), pages 116-131, December.
    18. Guo, Honggang & Wang, Jianzhou & Li, Zhiwu & Lu, Haiyan & Zhang, Linyue, 2022. "A non-ferrous metal price ensemble prediction system based on innovative combined kernel extreme learning machine and chaos theory," Resources Policy, Elsevier, vol. 79(C).
    19. Amin Aminimehr & Ali Raoofi & Akbar Aminimehr & Amirhossein Aminimehr, 2022. "A Comprehensive Study of Market Prediction from Efficient Market Hypothesis up to Late Intelligent Market Prediction Approaches," Computational Economics, Springer;Society for Computational Economics, vol. 60(2), pages 781-815, August.
    20. Htet Htet Htun & Michael Biehl & Nicolai Petkov, 2023. "Survey of feature selection and extraction techniques for stock market prediction," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-25, December.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jdataj:v:7:y:2022:i:5:p:51-:d:797574. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.