Skip to main content
Log in

Deep learning-based investment strategy: technical indicator clustering and residual blocks

  • Methodologies and Application
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

Financial forecasting using computational intelligence nowadays remains a hot topic. Recent improvements in deep neural networks allow us to predict financial market behavior better than traditional machine learning approaches. In this paper, we propose three novel deep learning-based financial forecasting frameworks, all of which considerably outperform existing approaches, yielding a much better annual financial return on DOW-30 stocks and Exchange-Traded Funds (ETFs) tested between January 1, 2007, and December 31, 2016. The first framework Convolutional Neural Networks with Technical Indicator Clustering (CNN-TIC) creates images with multiple channels corresponding to the technical indicator clusters and employs the take profit and stop loss techniques to obtain a superior annual financial return. The second model Evolutionary Optimized CNN-TIC (EO-CNN-TIC) computes the optimal values in the take profit and stop loss techniques using one of the recently created evolutionary optimization algorithms, Cuckoo Search. Finally, the third model Residual Network with Technical Analysis (ResNet-TA) applies residual blocks to the convolutional part of the neural network architecture to extract more useful features from deeper layers. Both CNN-TIC and EO-CNN-TIC are based on clustering the technical indicators by their similarity in behavior and creating separate five distinct images based on the five clusters, while ResNet-TA takes advantage of going deeper in the network with residual blocks. All three models further improve their performances by hyperparameter tuning. On DOW-30 stocks, we were able to achieve annual returns of 20.45% , 29.54% , and 36.70% for CNN-TIC, EO-CNN-TIC, and ResNet-TA, whereas for ETFs, 16.56% , 19.20% , and 32.09% annual returns were observed, respectively. We conclude with future work that can be done in order to further improve the computational and financial performances of the models.

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

Access this article

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

Similar content being viewed by others

Notes

  1. https://finance.yahoo.com.

  2. https://github.com/ta4j/ta4j.

  3. https://github.com/SISDevelop/SwarmPackagePy.

References

Download references

Acknowledgements

M. Fatih Demirci and Murat Ozbayoglu have previously received research Grants from TUBITAK (Scientific and Technological Research Council of Turkey). M. Fatih Demirci has received Grants from Nazarbayev University (Kazakhstan). M. Fatih Demirci has previously worked in TOBB University (Turkey), Utrecht University (Holland), and Drexel University (USA). Murat Ozbayoglu has previously worked in SunEdison (USA), Beyond Inc. (USA), and Missouri University of Science and Technology (USA).

Funding

The authors do not declare any funding for this research.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to M. Fatih Demirci.

Ethics declarations

Conflict of interest

The authors declare that there is no conflict of interest.

Human and animal rights

This article does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Communicated by V. Loia.

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

Maratkhan, A., Ilyassov, I., Aitzhanov, M. et al. Deep learning-based investment strategy: technical indicator clustering and residual blocks. Soft Comput 25, 5151–5161 (2021). https://doi.org/10.1007/s00500-020-05516-0

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-020-05516-0

Keywords

Navigation