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. 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.
    3. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    4. Vernon L. Smith, 2003. "Constructivist and Ecological Rationality in Economics," American Economic Review, American Economic Association, vol. 93(3), pages 465-508, June.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    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. 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.
    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. 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.
    2. 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.
    3. 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.
    4. Fateme Shahabi Nejad & Mohammad Mehdi Ebadzadeh, 2023. "Stock market forecasting using DRAGAN and feature matching," Papers 2301.05693, arXiv.org.
    5. 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.

    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. 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.
    2. 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.
    3. Yong Shi & Wei Dai & Wen Long & Bo Li, 2021. "Deep Kernel Gaussian Process Based Financial Market Predictions," Papers 2105.12293, arXiv.org.
    4. 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.
    5. Jun Lu & Shao Yi, 2022. "Reducing overestimating and underestimating volatility via the augmented blending-ARCH model," Papers 2203.12456, arXiv.org.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. 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.
    13. 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.
    14. Minot, Nicholas, 2014. "Food price volatility in sub-Saharan Africa: Has it really increased?," Food Policy, Elsevier, vol. 45(C), pages 45-56.
    15. 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.
    16. Chang, Chia-Lin, 2015. "Modelling a latent daily Tourism Financial Conditions Index," International Review of Economics & Finance, Elsevier, vol. 40(C), pages 113-126.
    17. Goncalves, Silvia & Kilian, Lutz, 2004. "Bootstrapping autoregressions with conditional heteroskedasticity of unknown form," Journal of Econometrics, Elsevier, vol. 123(1), pages 89-120, November.
    18. ?ikolaos A. Kyriazis, 2021. "Impacts of Stock Indices, Oil, and Twitter Sentiment on Major Cryptocurrencies during the COVID-19 First Wave," Bulletin of Applied Economics, Risk Market Journals, vol. 8(2), pages 133-146.
    19. Alagidede, Paul & Panagiotidis, Theodore, 2009. "Modelling stock returns in Africa's emerging equity markets," International Review of Financial Analysis, Elsevier, vol. 18(1-2), pages 1-11, March.
    20. Takahashi, Makoto & Watanabe, Toshiaki & Omori, Yasuhiro, 2016. "Volatility and quantile forecasts by realized stochastic volatility models with generalized hyperbolic distribution," International Journal of Forecasting, Elsevier, vol. 32(2), pages 437-457.

    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.