Skip to main content

Advertisement

Log in

A convolutional neural network based approach to financial time series prediction

  • S.I.: Deep Learning for Time Series Data
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

Financial time series are chaotic that, in turn, leads their predictability to be complex and challenging. This paper presents a novel financial time series prediction hybrid that involves Chaos Theory, Convolutional neural network (CNN), and Polynomial Regression (PR). The financial time series is first checked in this hybrid for the presence of chaos. The chaos in the series of times is later modeled using Chaos Theory. The modeled time series is input to CNN to obtain initial predictions. The error series obtained from CNN predictions is fit by PR to get error predictions. The error predictions and initial predictions from CNN are added to obtain the final predictions of the hybrid model. The effectiveness of the proposed hybrid (Chaos+CNN+PR) is tested by using three types of Foreign exchange rates of financial time series (INR/USD, JPY/USD, SGD/USD), commodity prices (Gold, Crude Oil, Soya beans), and stock market indices (S&P 500, Nifty 50, Shanghai Composite). The proposed hybrid is superior to Auto-regressive integrated moving averages (ARIMA), Prophet, Classification and Regression Tree (CART), Random Forest (RF), CNN, Chaos+CART, Chaos+RF and Chaos+CNN in terms of MSE, MAPE, Dstat, and Theil’s U.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

References

  1. Akaike H (1974) A new look at the statistical model identification. IEEE Trans Autom Control 19(6):716–723

    Article  MathSciNet  Google Scholar 

  2. Bahrammirzaee A (2010) A comparative survey of artificial intelligence applications in finance: artificial neural networks, expert system and hybrid intelligent systems. Neural Comput Appl 19(8):1165–1195

    Article  Google Scholar 

  3. Bao W, Yue J, Rao Y (2017) A deep learning framework for financial time series using stacked autoencoders and long-short term memory. PloS One 12(7):e0180944

    Article  Google Scholar 

  4. Bates JM, Granger CW (1969) The combination of forecasts. J Oper Res Soc 20(4):451–468

    Article  Google Scholar 

  5. Cao L (1997) Practical method for determining the minimum embedding dimension of a scalar time series. Phys D Nonlinear Phenom 110(1–2):43–50

    Article  Google Scholar 

  6. Cavalcante RC, Brasileiro RC, Souza VL, Nobrega JP, Oliveira AL (2016) Computational intelligence and financial markets: a survey and future directions. Expert Syst Appl 55:194–211

    Article  Google Scholar 

  7. Dhanya C, Kumar DN (2010) Nonlinear ensemble prediction of chaotic daily rainfall. Adv Water Resour 33(3):327–347

    Article  Google Scholar 

  8. Diebold F, Mariano R (1995) Comparing predictive accuracy. J Bus Econ Stat 13:253–263

    Google Scholar 

  9. Durairaj M, Mohan BK (2019) A review of two decades of deep learning hybrids for financial time series prediction. Int J Emerg Technol 10(3):324–331

    Google Scholar 

  10. Heaton J, Polson NG, Witte JH (2016) Deep learning in finance. arXiv preprint arXiv:160206561

  11. Hellström T, Holmström K (1998) Predicting the stock market

  12. Huang SC, Chuang PJ, Wu CF, Lai HJ (2010) Chaos-based support vector regressions for exchange rate forecasting. Expert Syst Appl 37(12):8590–8598

    Article  Google Scholar 

  13. Huang W, Lai KK, Nakamori Y, Wang S (2004) Forecasting foreign exchange rates with artificial neural networks: a review. Int J Inf Technol Decis Mak 3(01):145–165

    Article  Google Scholar 

  14. LeCun Y, Boser B, Denker JS, Henderson D, Howard RE, Hubbard W, Jackel LD (1989) Backpropagation applied to handwritten zip code recognition. Neural Comput 1(4):541–551

    Article  Google Scholar 

  15. LeCun Y, Bengio Y et al (1995) Convolutional networks for images, speech, and time series. Handb Brain Theory Neural Netw 3361(10):1995

    Google Scholar 

  16. LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436–444

    Article  Google Scholar 

  17. Li Y, Ma W (2010) Applications of artificial neural networks in financial economics: a survey. In: 2010 International symposium on computational intelligence and design, IEEE, vol 1, pp 211–214

  18. Livieris IE, Pintelas E, Pintelas P (2020) A CNN-LSTM model for gold price time-series forecasting. Neural Comput Appl 32(23):17351–17360

    Article  Google Scholar 

  19. Magdon-Ismail M, Nicholson A, Abu-Mostafa YS (1998) Financial markets: very noisy information processing. Proc IEEE 86(11):2184–2195

    Article  Google Scholar 

  20. Makridakis S, Hibon M (1995) Evaluating accuracy (or error) measures. Insead 110:1–41

    Google Scholar 

  21. Makridakis S, Hibon M (1997) ARMA models and the Box–Jenkins methodology. J Forecast 16(3):147–163

    Article  Google Scholar 

  22. Mochón A, Quintana D, Sáez Y, Isasi P (2008) Soft computing techniques applied to finance. Appl Intell 29(2):111–115

    Article  Google Scholar 

  23. Packard NH, Crutchfield JP, Farmer JD, Shaw RS (1980) Geometry from a time series. Phys Rev Lett 45(9):712

    Article  Google Scholar 

  24. Pavlidis N, Tasoulis D, Vrahatis MN (2003) Financial forecasting through unsupervised clustering and evolutionary trained neural networks. In: The 2003 congress on evolutionary computation, 2003. CEC’03., IEEE, vol 4, pp 2314–2321

  25. Pfeiffer M, Hohmann A (2012) Applications of neural networks in training science. Hum Mov Sci 31(2):344–359

    Article  Google Scholar 

  26. Poincaré H (1890) Sur le problème des trois corps et les équations de la dynamique. Acta Math 13(1):A3–A270

    Google Scholar 

  27. Pradeepkumar D, Ravi V (2014) Forex rate prediction using chaos, neural network and particle swarm optimization. In: International conference in swarm intelligence, Springer, pp 363–375

  28. Pradeepkumar D, Ravi V (2016) Forex rate prediction using chaos and quantile regression random forest. In: 2016 3rd international conference on recent advances in information technology (RAIT), IEEE, pp 517–522

  29. Pradeepkumar D, Ravi V (2017) Forex rate prediction: a hybrid approach using chaos theory and multivariate adaptive regression splines. In: Proceedings of the 5th international conference on frontiers in intelligent computing: theory and applications, Springer, pp 219–227

  30. Pradeepkumar D, Ravi V (2018) Soft computing hybrids for forex rate prediction: a comprehensive review. Comput Oper Res 99:262–284

    Article  Google Scholar 

  31. Ravi V, Pradeepkumar D, Deb K (2017) Financial time series prediction using hybrids of chaos theory, multi-layer perceptron and multi-objective evolutionary algorithms. Swarm Evolut Comput 36:136–149

    Article  Google Scholar 

  32. Reid DJ (1968) Combining three estimates of gross domestic product. Economica 35(140):431–444

    Article  Google Scholar 

  33. Selvin S, Vinayakumar R, Gopalakrishnan E, Menon VK, Soman K (2017) Stock price prediction using LSTM, RNN and CNN-sliding window model. In: 2017 international conference on advances in computing, communications and informatics (icacci), IEEE, pp 1643–1647

  34. Sezer OB, Gudelek MU, Ozbayoglu AM (2020) Financial time series forecasting with deep learning: a systematic literature review: 2005–2019. Appl Soft Comput 90:106–181

    Article  Google Scholar 

  35. Takens F (1981) Detecting strange attractors in turbulence. In: Rand D, Young LS (eds) Dynamical systems and turbulence, Warwick 1980. Lecture Notes in Mathematics, vol 898. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0091924

  36. Theil H (1966) Applied economic forecasting. North-Holland Pub. Co., Amsterdam

    Google Scholar 

  37. Vidal A, Kristjanpoller W (2020) Gold volatility prediction using a CNN-LSTM approach. Expert Syst Appl 157:113481

    Article  Google Scholar 

  38. Williams G (1997) Chaos theory tamed. CRC Press, Boca Raton

    Book  Google Scholar 

  39. Yao J, Tan CL (2000) A case study on using neural networks to perform technical forecasting of forex. Neurocomputing 34(1–4):79–98

    Article  Google Scholar 

  40. Yu X, Yang J, Xie Z (2014) Training SVMs on a bound vectors set based on fisher projection. Front Comput Sci 8(5):793–806

    Article  MathSciNet  Google Scholar 

  41. Yu X, Chu Y, Jiang F, Guo Y, Gong D (2018) SVMs classification based two-side cross domain collaborative filtering by inferring intrinsic user and item features. Knowl Based Syst 141:80–91

    Article  Google Scholar 

  42. Yu X, Jiang F, Du J, Gong D (2019) A cross-domain collaborative filtering algorithm with expanding user and item features via the latent factor space of auxiliary domains. Pattern Recognit 94:96–109

    Article  Google Scholar 

  43. Zhang K, Zhong G, Dong J, Wang S, Wang Y (2019) Stock market prediction based on generative adversarial network. Procedia Comput Sci 147:400–406

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to B. H. Krishna Mohan.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest with any author, or organization.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Durairaj, D.M., Mohan, B.H.K. A convolutional neural network based approach to financial time series prediction. Neural Comput & Applic 34, 13319–13337 (2022). https://doi.org/10.1007/s00521-022-07143-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-022-07143-2

Keywords