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

A deep learning framework for financial time series using stacked autoencoders and long-short term memory

Author

Listed:
  • Wei Bao
  • Jun Yue
  • Yulei Rao

Abstract

The application of deep learning approaches to finance has received a great deal of attention from both investors and researchers. This study presents a novel deep learning framework where wavelet transforms (WT), stacked autoencoders (SAEs) and long-short term memory (LSTM) are combined for stock price forecasting. The SAEs for hierarchically extracted deep features is introduced into stock price forecasting for the first time. The deep learning framework comprises three stages. First, the stock price time series is decomposed by WT to eliminate noise. Second, SAEs is applied to generate deep high-level features for predicting the stock price. Third, high-level denoising features are fed into LSTM to forecast the next day’s closing price. Six market indices and their corresponding index futures are chosen to examine the performance of the proposed model. Results show that the proposed model outperforms other similar models in both predictive accuracy and profitability performance.

Suggested Citation

  • Wei Bao & Jun Yue & Yulei Rao, 2017. "A deep learning framework for financial time series using stacked autoencoders and long-short term memory," PLOS ONE, Public Library of Science, vol. 12(7), pages 1-24, July.
  • Handle: RePEc:plo:pone00:0180944
    DOI: 10.1371/journal.pone.0180944
    as

    Download full text from publisher

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

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

    File URL: https://libkey.io/10.1371/journal.pone.0180944?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. Jingtao Yao & Chew Lim Tan & Hean-Lee Poh, 1999. "Neural Networks For Technical Analysis: A Study On Klci," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 2(02), pages 221-241.
    2. Michael A. Pizzi & Andrew J. Economopoulos & Heather M. O'Neill, 1998. "An examination of the relationship between stock index cash and futures markets: A cointegration approach," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 18(3), pages 297-305, May.
    3. Polterovich, Victor & Popov, Vladimir, 2006. "Эволюционная Теория Экономической Политики: Часть I: Опыт Быстрого Развития [An Evolutionary Theory of Economic Policy: Part I: The Experience of Fast Development]," MPRA Paper 22168, University Library of Munich, Germany.
    4. Abramovich, Felix & Besbeas, Panagiotis & Sapatinas, Theofanis, 2002. "Empirical Bayes approach to block wavelet function estimation," Computational Statistics & Data Analysis, Elsevier, vol. 39(4), pages 435-451, June.
    5. Kawaller, Ira G & Koch, Paul D & Koch, Timothy W, 1987. "The Temporal Price Relationship between S&P 500 Futures and the S and P 500 Index," Journal of Finance, American Finance Association, vol. 42(5), pages 1309-1329, December.
    6. Jacinta Chan Phooi M’ng & Mohammadali Mehralizadeh, 2016. "Forecasting East Asian Indices Futures via a Novel Hybrid of Wavelet-PCA Denoising and Artificial Neural Network Models," PLOS ONE, Public Library of Science, vol. 11(6), pages 1-29, June.
    7. Zhao, Hua, 2010. "Dynamic relationship between exchange rate and stock price: Evidence from China," Research in International Business and Finance, Elsevier, vol. 24(2), pages 103-112, June.
    8. Aminghafari, Mina & Cheze, Nathalie & Poggi, Jean-Michel, 2006. "Multivariate denoising using wavelets and principal component analysis," Computational Statistics & Data Analysis, Elsevier, vol. 50(9), pages 2381-2398, May.
    9. Bodyanskiy, Yevgeniy & Popov, Sergiy, 2006. "Neural network approach to forecasting of quasiperiodic financial time series," European Journal of Operational Research, Elsevier, vol. 175(3), pages 1357-1366, December.
    10. Gong, Chen-Chen & Ji, Shen-Dan & Su, Li-Ling & Li, Sai-Ping & Ren, Fei, 2016. "The lead–lag relationship between stock index and stock index futures: A thermal optimal path method," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 444(C), pages 63-72.
    11. Zhiqiang Guo & Huaiqing Wang & Quan Liu & Jie Yang, 2014. "A Feature Fusion Based Forecasting Model for Financial Time Series," PLOS ONE, Public Library of Science, vol. 9(6), pages 1-13, June.
    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. Sarveshwar Kumar Inani, 2017. "Price discovery in Indian stock index futures market: new evidence based on intraday data," International Journal of Indian Culture and Business Management, Inderscience Enterprises Ltd, vol. 14(1), pages 23-43.
    2. Jacinta Chan Phooi M’ng & Mohammadali Mehralizadeh, 2016. "Forecasting East Asian Indices Futures via a Novel Hybrid of Wavelet-PCA Denoising and Artificial Neural Network Models," PLOS ONE, Public Library of Science, vol. 11(6), pages 1-29, June.
    3. Jianqiang Hu & Tianxiang Wang & Wenwei Hu & Jun Tong, 2020. "The impact of trading restrictions and margin requirements on stock index futures," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 40(7), pages 1176-1191, July.
    4. Sanjay Sehgal & Mala Dutt, 2016. "Domestic and international information linkages between NSE Nifty spot and futures markets: an empirical study for India," DECISION: Official Journal of the Indian Institute of Management Calcutta, Springer;Indian Institute of Management Calcutta, vol. 43(3), pages 239-258, September.
    5. Cang, Shuang & Yu, Hongnian, 2014. "A combination selection algorithm on forecasting," European Journal of Operational Research, Elsevier, vol. 234(1), pages 127-139.
    6. Hyun-Jung Ryoo & Graham Smith, 2004. "The impact of stock index futures on the Korean stock market," Applied Financial Economics, Taylor & Francis Journals, vol. 14(4), pages 243-251.
    7. Abdoulaye Camara & Wang Feixing & Liu Xiuqin, 2016. "Energy Consumption Forecasting Using Seasonal ARIMA with Artificial Neural Networks Models," International Journal of Business and Management, Canadian Center of Science and Education, vol. 11(5), pages 231-231, April.
    8. Judge, Amrit & Reancharoen, Tipprapa, 2014. "An empirical examination of the lead–lag relationship between spot and futures markets: Evidence from Thailand," Pacific-Basin Finance Journal, Elsevier, vol. 29(C), pages 335-358.
    9. Tsai, Ming-Feng & Wang, Chuan-Ju, 2017. "On the risk prediction and analysis of soft information in finance reports," European Journal of Operational Research, Elsevier, vol. 257(1), pages 243-250.
    10. Jing Hao & Xiong Xiong & Feng He & Feng Ma, 2019. "Price Discovery in the Chinese Stock Index Futures Market," Emerging Markets Finance and Trade, Taylor & Francis Journals, vol. 55(13), pages 2982-2996, October.
    11. Kumar, Satish, 2018. "Price discovery in emerging currency markets," Research in International Business and Finance, Elsevier, vol. 46(C), pages 528-536.
    12. Shuxin Guo, 2021. "Do futures lead the index under stress? Evidence from the 2015 Chinese market turmoil and its aftermath," Review of Quantitative Finance and Accounting, Springer, vol. 56(1), pages 91-110, January.
    13. Pradhan, Rudra P. & Hall, John H. & du Toit, Elda, 2021. "The lead–lag relationship between spot and futures prices: Empirical evidence from the Indian commodity market," Resources Policy, Elsevier, vol. 70(C).
    14. Mark T. Leung & An‐Sing Chen & Ruben Mancha, 2009. "Making trading decisions for financial‐engineered derivatives: a novel ensemble of neural networks using information content," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 16(4), pages 257-277, October.
    15. Qiang Liu & Gaoxiu Qiao, 2017. "The evolving nature of intraday price discovery in the Chinese CSI 300 index futures market," Empirical Economics, Springer, vol. 52(4), pages 1569-1585, June.
    16. Fassas, Athanasios P. & Papadamou, Stephanos & Koulis, Alexandros, 2020. "Price discovery in bitcoin futures," Research in International Business and Finance, Elsevier, vol. 52(C).
    17. Antonakakis, Nikolaos & Floros, Christos & Kizys, Renatas, 2016. "Dynamic spillover effects in futures markets: UK and US evidence," International Review of Financial Analysis, Elsevier, vol. 48(C), pages 406-418.
    18. Lukas Ryll & Sebastian Seidens, 2019. "Evaluating the Performance of Machine Learning Algorithms in Financial Market Forecasting: A Comprehensive Survey," Papers 1906.07786, arXiv.org, revised Jul 2019.
    19. Wong, W.K. & Xia, Min & Chu, W.C., 2010. "Adaptive neural network model for time-series forecasting," European Journal of Operational Research, Elsevier, vol. 207(2), pages 807-816, December.
    20. Bozos, Konstantinos & Nikolopoulos, Konstantinos, 2011. "Forecasting the value effect of seasoned equity offering announcements," European Journal of Operational Research, Elsevier, vol. 214(2), pages 418-427, October.

    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:0180944. 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.