IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v57y2021i4d10.1007_s10614-020-10013-5.html
   My bibliography  Save this article

Predicting Stock Price Using Two-Stage Machine Learning Techniques

Author

Listed:
  • Jun Zhang

    (Capital University of Economics and Business)

  • Lan Li

    (Capital University of Economics and Business)

  • Wei Chen

    (Capital University of Economics and Business)

Abstract

Stock market forecasting is considered to be a challenging topic among time series forecasting. This study proposes a novel two-stage ensemble machine learning model named SVR-ENANFIS for stock price prediction by combining features of support vector regression (SVR) and ensemble adaptive neuro fuzzy inference system (ENANFIS). In the first stage, the future values of technical indicators are forecasted by SVR. In the second stage, ENANFIS is utilized to forecast the closing price based on prediction results of first stage. Finally, the proposed model SVR-ENANFIS is tested on 4 securities randomly selected from the Shanghai and Shenzhen Stock Exchanges with data collected from 2012 to 2017, and the predictions are completed 1–10, 15 and 30 days in advance. The experimental results show that the proposed model SVR-ENANFIS has superior prediction performance than single-stage model ENANFIS and several two-stage models such as SVR-Linear, SVR-SVR, and SVR-ANN.

Suggested Citation

  • 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.
  • Handle: RePEc:kap:compec:v:57:y:2021:i:4:d:10.1007_s10614-020-10013-5
    DOI: 10.1007/s10614-020-10013-5
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-020-10013-5
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-020-10013-5?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Fernando Perez-cruz & Julio Afonso-rodriguez & Javier Giner, 2003. "Estimating GARCH models using support vector machines," Quantitative Finance, Taylor & Francis Journals, vol. 3(3), pages 163-172.
    2. Peng, Lu & Liu, Shan & Liu, Rui & Wang, Lin, 2018. "Effective long short-term memory with differential evolution algorithm for electricity price prediction," Energy, Elsevier, vol. 162(C), pages 1301-1314.
    3. Valeriy Gavrishchaka & Supriya Banerjee, 2006. "Support Vector Machine as an Efficient Framework for Stock Market Volatility Forecasting," Computational Management Science, Springer, vol. 3(2), pages 147-160, April.
    4. Zhao, Yang & Li, Jianping & Yu, Lean, 2017. "A deep learning ensemble approach for crude oil price forecasting," Energy Economics, Elsevier, vol. 66(C), pages 9-16.
    5. Song, Yu & Akagi, Fumio, 2016. "Application of artificial neural network for the prediction of stock market returns: The case of the Japanese stock marketAuthor-Name: Qiu, Mingyue," Chaos, Solitons & Fractals, Elsevier, vol. 85(C), pages 1-7.
    6. Vernon L. Smith, 2003. "Constructivist and Ecological Rationality in Economics," American Economic Review, American Economic Association, vol. 93(3), pages 465-508, June.
    7. Kizilaslan, Recep & Freund, Steven & Iseri, Ali, 2016. "A data analytic approach to forecasting daily stock returns in an emerging marketAuthor-Name: Oztekin, Asil," European Journal of Operational Research, Elsevier, vol. 253(3), pages 697-710.
    8. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    9. Wang, Ju-Jie & Wang, Jian-Zhou & Zhang, Zhe-George & Guo, Shu-Po, 2012. "Stock index forecasting based on a hybrid model," Omega, Elsevier, vol. 40(6), pages 758-766.
    10. Taewook Kim & Ha Young Kim, 2019. "Forecasting stock prices with a feature fusion LSTM-CNN model using different representations of the same data," PLOS ONE, Public Library of Science, vol. 14(2), pages 1-23, February.
    11. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    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. Liao, Cunfei & Ma, Tian, 2024. "From fundamental signals to stock volatility: A machine learning approach," Pacific-Basin Finance Journal, Elsevier, vol. 84(C).
    2. Fateme Shahabi Nejad & Mohammad Mehdi Ebadzadeh, 2023. "Stock market forecasting using DRAGAN and feature matching," Papers 2301.05693, arXiv.org.
    3. Raphael Paulo Beal Piovezan & Pedro Paulo Andrade Junior & Sérgio Luciano Ávila, 2024. "Machine Learning Method for Return Direction Forecast of Exchange Traded Funds (ETFs) Using Classification and Regression Models," Computational Economics, Springer;Society for Computational Economics, vol. 63(5), pages 1827-1852, May.
    4. Fang, Yi & Chen, Yuzhi & Ren, Hang, 2023. "A factor pricing model based on machine learning algorithm," International Review of Economics & Finance, Elsevier, vol. 88(C), pages 280-297.
    5. 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.
    6. Qin Lu & Jingwen Liao & Kechi Chen & Yanhui Liang & Yu Lin, 2024. "Predicting Natural Gas Prices Based on a Novel Hybrid Model with Variational Mode Decomposition," Computational Economics, Springer;Society for Computational Economics, vol. 63(2), pages 639-678, February.
    7. 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.
    8. Sagaceta-Mejía Alma Rocío & Sánchez-Gutiérrez Máximo Eduardo & Fresán-Figueroa Julián Alberto, 2024. "An Intelligent Approach for Predicting Stock Market Movements in Emerging Markets Using Optimized Technical Indicators and Neural Networks," Economics - The Open-Access, Open-Assessment Journal, De Gruyter, vol. 18(1), pages 1-14.
    9. Lolea Iulian Cornel & Stamule Simona, 2021. "Trading using Hidden Markov Models during COVID-19 turbulences," Management & Marketing, Sciendo, vol. 16(4), pages 334-351, December.
    10. Firat Melih Yilmaz & Engin Yildiztepe, 2024. "Statistical Evaluation of Deep Learning Models for Stock Return Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 63(1), pages 221-244, January.

    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. 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.
    2. Pedro Correia S. Bezerra & Pedro Henrique M. Albuquerque, 2017. "Volatility forecasting via SVR–GARCH with mixture of Gaussian kernels," Computational Management Science, Springer, vol. 14(2), pages 179-196, April.
    3. Jun Lu & Shao Yi, 2022. "Reducing Overestimating and Underestimating Volatility via the Augmented Blending-ARCH Model," Applied Economics and Finance, Redfame publishing, vol. 9(2), pages 48-59, May.
    4. Marcin Fałdziński & Piotr Fiszeder & Witold Orzeszko, 2020. "Forecasting Volatility of Energy Commodities: Comparison of GARCH Models with Support Vector Regression," Energies, MDPI, vol. 14(1), pages 1-18, December.
    5. Hao Sun & Bo Yu, 2020. "Forecasting Financial Returns Volatility: A GARCH-SVR Model," Computational Economics, Springer;Society for Computational Economics, vol. 55(2), pages 451-471, February.
    6. Eva DEZSI & Ioan Alin NISTOR, 2016. "Can Deep Machine Learning Outsmart The Market? A Comparison Between Econometric Modelling And Long- Short Term Memory," Romanian Economic Business Review, Romanian-American University, vol. 11(4.1), pages 54-73, december.
    7. Jia Zhai & Yi Cao & Xuemei Ding, 2018. "Data analytic approach for manipulation detection in stock market," Review of Quantitative Finance and Accounting, Springer, vol. 50(3), pages 897-932, April.
    8. Svetlana Borovkova & Diego Mahakena, 2015. "News, volatility and jumps: the case of natural gas futures," Quantitative Finance, Taylor & Francis Journals, vol. 15(7), pages 1217-1242, July.
    9. Yong Shi & Wei Dai & Wen Long & Bo Li, 2021. "Deep Kernel Gaussian Process Based Financial Market Predictions," Papers 2105.12293, arXiv.org.
    10. Guillermo Santamaría-Bonfil & Juan Frausto-Solís & Ignacio Vázquez-Rodarte, 2015. "Volatility Forecasting Using Support Vector Regression and a Hybrid Genetic Algorithm," Computational Economics, Springer;Society for Computational Economics, vol. 45(1), pages 111-133, January.
    11. Mohammad Arashi & Mohammad Mahdi Rounaghi, 2022. "Analysis of market efficiency and fractal feature of NASDAQ stock exchange: Time series modeling and forecasting of stock index using ARMA-GARCH model," Future Business Journal, Springer, vol. 8(1), pages 1-12, December.
    12. Jun Lu & Shao Yi, 2022. "Reducing overestimating and underestimating volatility via the augmented blending-ARCH model," Papers 2203.12456, arXiv.org.
    13. Detlef Seese & Christof Weinhardt & Frank Schlottmann (ed.), 2008. "Handbook on Information Technology in Finance," International Handbooks on Information Systems, Springer, number 978-3-540-49487-4, November.
    14. Tiago E. Pratas & Filipe R. Ramos & Lihki Rubio, 2023. "Forecasting bitcoin volatility: exploring the potential of deep learning," Eurasian Economic Review, Springer;Eurasia Business and Economics Society, vol. 13(2), pages 285-305, June.
    15. Minot, Nicholas, 2014. "Food price volatility in sub-Saharan Africa: Has it really increased?," Food Policy, Elsevier, vol. 45(C), pages 45-56.
    16. Shively, Gerald E., 2001. "Price thresholds, price volatility, and the private costs of investment in a developing country grain market," Economic Modelling, Elsevier, vol. 18(3), pages 399-414, August.
    17. Tomanova, Lucie, 2013. "Exchange Rate Volatility and the Foreign Trade in CEEC," EY International Congress on Economics I (EYC2013), October 24-25, 2013, Ankara, Turkey 267, Ekonomik Yaklasim Association.
    18. Chang, Chia-Lin, 2015. "Modelling a latent daily Tourism Financial Conditions Index," International Review of Economics & Finance, Elsevier, vol. 40(C), pages 113-126.
    19. Goncalves, Silvia & Kilian, Lutz, 2004. "Bootstrapping autoregressions with conditional heteroskedasticity of unknown form," Journal of Econometrics, Elsevier, vol. 123(1), pages 89-120, November.
    20. Taoufik Bouezmarni & Mohamed Doukali & Abderrahim Taamouti, 2024. "Testing Granger non-causality in expectiles," Econometric Reviews, Taylor & Francis Journals, vol. 43(1), pages 30-51, January.

    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:kap:compec:v:57:y:2021:i:4:d:10.1007_s10614-020-10013-5. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.