IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0287754.html
   My bibliography  Save this article

Prediction of stock price movement using an improved NSGA-II-RF algorithm with a three-stage feature engineering process

Author

Listed:
  • Xiaohua Zeng
  • Jieping Cai
  • Changzhou Liang
  • Chiping Yuan

Abstract

Prediction of stock price has been a hot topic in artificial intelligence field. Computational intelligent methods such as machine learning or deep learning are explored in the prediction system in recent years. However, making accurate predictions of stock price direction is still a big challenge because stock prices are affected by nonlinear, nonstationary, and high dimensional features. In previous works, feature engineering was overlooked. How to select the optimal feature sets that affect stock price is a prominent solution. Hence, our motivation for this article is to propose an improved many-objective optimization algorithm integrating random forest (I-NSGA-II-RF) algorithm with a three-stage feature engineering process in order to decrease the computational complexity and improve the accuracy of prediction system. Maximizing accuracy and minimizing the optimal solution set are the optimization directions of the model in this study. The integrated information initialization population of two filtered feature selection methods is used to optimize the I-NSGA-II algorithm, using multiple chromosome hybrid coding to synchronously select features and optimize model parameters. Finally, the selected feature subset and parameters are input to the RF for training, prediction, and iterative optimization. Experimental results show that the I-NSGA-II-RF algorithm has the highest average accuracy, the smallest optimal solution set, and the shortest running time compared to the unmodified multi-objective feature selection algorithm and the single target feature selection algorithm. Compared to the deep learning model, this model has interpretability, higher accuracy, and less running time.

Suggested Citation

  • Xiaohua Zeng & Jieping Cai & Changzhou Liang & Chiping Yuan, 2023. "Prediction of stock price movement using an improved NSGA-II-RF algorithm with a three-stage feature engineering process," PLOS ONE, Public Library of Science, vol. 18(6), pages 1-30, June.
  • Handle: RePEc:plo:pone00:0287754
    DOI: 10.1371/journal.pone.0287754
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0287754
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0287754&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0287754?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Basak, Suryoday & Kar, Saibal & Saha, Snehanshu & Khaidem, Luckyson & Dey, Sudeepa Roy, 2019. "Predicting the direction of stock market prices using tree-based classifiers," The North American Journal of Economics and Finance, Elsevier, vol. 47(C), pages 552-567.
    2. Zuo, Wei & Wang, Zijie & E, Jiaqiang & Li, Qingqing & Cheng, Qianju & Wu, Yinkun & Zhou, Kun, 2023. "Numerical investigations on the performance of a hydrogen-fueled micro planar combustor with tube outlet for thermophotovoltaic applications," Energy, Elsevier, vol. 263(PC).
    Full references (including those not matched with items on IDEAS)

    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. Ahmad Kianrad & Mohadeseh Najafi Arani & Karim Hasani & Masoumeh Zargar & Eila Erfani & Amir Razmjou, 2024. "Investigating the impact of company announcements on stock prices: an application of machine learning on Australian lithium market," Mineral Economics, Springer;Raw Materials Group (RMG);LuleƄ University of Technology, vol. 37(1), pages 163-172, March.
    2. Henriques, Irene & Sadorsky, Perry, 2023. "Forecasting rare earth stock prices with machine learning," Resources Policy, Elsevier, vol. 86(PA).
    3. Zhou, Zhongbao & Gao, Meng & Liu, Qing & Xiao, Helu, 2020. "Forecasting stock price movements with multiple data sources: Evidence from stock market in China," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 542(C).
    4. He, Ziqiang & You, Jingxiang & Kang, Dugang & Zou, Qunfeng & Zhang, Wenxiang & Zhang, Zhien, 2024. "Overall numerical simulation of chemical-thermal-electric conversion for an all-in-one thermoelectric generator based on micro scale combustion," Energy, Elsevier, vol. 292(C).
    5. Zhao, He & Zhao, Dan & Becker, Sid & Rong, Hui & Zhao, Xiaohuan, 2023. "Entropy generation and improved thermal performance investigation on a hydrogen-fuelled double-channel microcombustor with Y-shaped internal fins," Energy, Elsevier, vol. 283(C).
    6. Yang, Yanlin & Hu, Xuemei & Jiang, Huifeng, 2022. "Group penalized logistic regressions predict up and down trends for stock prices," The North American Journal of Economics and Finance, Elsevier, vol. 59(C).
    7. Mercadier, Mathieu & Lardy, Jean-Pierre, 2019. "Credit spread approximation and improvement using random forest regression," European Journal of Operational Research, Elsevier, vol. 277(1), pages 351-365.
    8. Liu, Zeqi & Liu, Wanhao & Du, Yiqing & Fan, Aiwu, 2024. "Experimental study on the propagation characteristics of non-premixed H2/air flames in a curved micro-combustor," Energy, Elsevier, vol. 299(C).
    9. Junwei Chen, 2023. "Analysis of Bitcoin Price Prediction Using Machine Learning," JRFM, MDPI, vol. 16(1), pages 1-25, January.
    10. Li, Jinping & Wang, Hongyang & Liu, Xiaomin & Zhu, Junjie & Novakovic, Vojislav & Karkon, Ehsan Gholamian, 2024. "Study on the effects of acetone and R141b on the performance of micro heat pipe PV/T systems," Energy, Elsevier, vol. 297(C).
    11. Shuo Sun & Rundong Wang & Bo An, 2021. "Reinforcement Learning for Quantitative Trading," Papers 2109.13851, arXiv.org.
    12. Xu, Yuhong & Zhao, Xinyao, 2024. "How does node centrality in a financial network affect asset price prediction?," The North American Journal of Economics and Finance, Elsevier, vol. 73(C).
    13. Min-Yuh Day & Paoyu Huang & Yirung Cheng & Yensen Ni, 2023. "Investing Strategies for Trading Stocks as Overreaction Triggered by Technical Trading Rules with Big Data Concerns," Journal for Economic Forecasting, Institute for Economic Forecasting, vol. 0(3), pages 148-161, October.
    14. Li, Dexin & Zuo, Wei & Li, Qingqing & Zhang, Guangde & Zhou, Kun & E, Jiaqiang, 2023. "Effects of pulsating flow on the performance of multi-channel cold plate for thermal management of lithium-ion battery pack," Energy, Elsevier, vol. 273(C).
    15. Abbaspour, Pouyan & Alipoor, Alireza, 2024. "Numerical study of wavy-wall effects on premixed H2/air flammability limits, propagation modes, and thermal performance of micro combustion chambers," Applied Energy, Elsevier, vol. 359(C).
    16. Perry Sadorsky, 2021. "Predicting Gold and Silver Price Direction Using Tree-Based Classifiers," JRFM, MDPI, vol. 14(5), pages 1-21, April.
    17. Ashish Kumar & Abeer Alsadoon & P. W. C. Prasad & Salma Abdullah & Tarik A. Rashid & Duong Thu Hang Pham & Tran Quoc Vinh Nguyen, 2021. "Generative Adversarial Network (GAN) and Enhanced Root Mean Square Error (ERMSE): Deep Learning for Stock Price Movement Prediction," Papers 2112.03946, arXiv.org.
    18. Wei Liu & Yoshihisa Suzuki & Shuyi Du, 2024. "Forecasting the Stock Price of Listed Innovative SMEs Using Machine Learning Methods Based on Bayesian optimization: Evidence from China," Computational Economics, Springer;Society for Computational Economics, vol. 63(5), pages 2035-2068, May.
    19. Zouhaier Dhifaoui, 2022. "Determinism and Non-linear Behaviour of Log-return and Conditional Volatility: Empirical Analysis for 26 Stock Markets," South Asian Journal of Macroeconomics and Public Finance, , vol. 11(1), pages 69-94, June.
    20. Rong, Hui & Zhao, Dan & Sun, Jie, 2025. "Thermodynamic and heat transfer analysis of hydrogen-fueled meso-scale combustors with tear-drop structures for thermophotovoltaic applications," Energy, Elsevier, vol. 325(C).

    More about this item

    Statistics

    Access and download statistics

    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:plo:pone00:0287754. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.