Skip to main content
Top
Published in: Knowledge and Information Systems 1/2021

24-09-2020 | Regular Paper

Transferring trading strategy knowledge to deep learning models

Authors: Avraam Tsantekidis, Anastasios Tefas

Published in: Knowledge and Information Systems | Issue 1/2021

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Trading strategies are constantly being employed in the financial markets in order to increase consistency, reduce human errors of judgment and boost the probability of taking profitable market positions. In this work, we attempt to transfer the knowledge of several different types of trading strategies to deep learning models. The trading strategies are applied on price data of foreign exchange trading pairs and are actual strategies used in production trading environments. Along with our approach to transfer the strategy knowledge, we introduce a preprocessing method of the original price candles making it suitable for use with Neural Networks. Our results suggest that the deep models that are tested perform better than simpler models and they can accurately learn a variety of trading strategies.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literature
2.
go back to reference Deng Y, Bao F, Kong Y, Ren Z, Dai Q (2017) Deep direct reinforcement learning for financial signal representation and trading. IEEE Trans Neural Netw Learn Syst 28(3):653–664 CrossRef Deng Y, Bao F, Kong Y, Ren Z, Dai Q (2017) Deep direct reinforcement learning for financial signal representation and trading. IEEE Trans Neural Netw Learn Syst 28(3):653–664 CrossRef
3.
go back to reference Frankel JA, Froot KA (1990) Chartists, fundamentalists, and trading in the foreign exchange market. Am Econ Rev 80(2):181–185 Frankel JA, Froot KA (1990) Chartists, fundamentalists, and trading in the foreign exchange market. Am Econ Rev 80(2):181–185
4.
go back to reference Froot KA, Scharfstein DS, Stein JC (1992) Herd on the street: informational inefficiencies in a market with short-term speculation. J Finance 47(4):1461–1484CrossRef Froot KA, Scharfstein DS, Stein JC (1992) Herd on the street: informational inefficiencies in a market with short-term speculation. J Finance 47(4):1461–1484CrossRef
5.
go back to reference Goumatianos N, Christou IT, Lindgren P, Prasad R (2017) An algorithmic framework for frequent intraday pattern recognition and exploitation in forex market. Knowl Inf Syst 53(3):767–804CrossRef Goumatianos N, Christou IT, Lindgren P, Prasad R (2017) An algorithmic framework for frequent intraday pattern recognition and exploitation in forex market. Knowl Inf Syst 53(3):767–804CrossRef
6.
go back to reference He K, Zhang X, Ren S, Sun J (2015) Delving deep into rectifiers: surpassing human-level performance on imagenet classification. In: Proceedings of the IEEE international conference on computer vision, pp 1026–1034 He K, Zhang X, Ren S, Sun J (2015) Delving deep into rectifiers: surpassing human-level performance on imagenet classification. In: Proceedings of the IEEE international conference on computer vision, pp 1026–1034
7.
go back to reference Hirshleifer D, Subrahmanyam A, Titman S (1994) Security analysis and trading patterns when some investors receive information before others. J Finance 49(5):1665–1698CrossRef Hirshleifer D, Subrahmanyam A, Titman S (1994) Security analysis and trading patterns when some investors receive information before others. J Finance 49(5):1665–1698CrossRef
8.
go back to reference Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780CrossRef Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780CrossRef
9.
go back to reference Ioffe S, Szegedy C (2015) Batch normalization: accelerating deep network training by reducing internal covariate shift. arXiv:1502.03167 Ioffe S, Szegedy C (2015) Batch normalization: accelerating deep network training by reducing internal covariate shift. arXiv:​1502.​03167
10.
go back to reference Jegadeesh N, Titman S (1993) Returns to buying winners and selling losers: implications for stock market efficiency. J Finance 48(1):65–91CrossRef Jegadeesh N, Titman S (1993) Returns to buying winners and selling losers: implications for stock market efficiency. J Finance 48(1):65–91CrossRef
11.
go back to reference Krishnamoorthy S (2018) Sentiment analysis of financial news articles using performance indicators. Knowl Inf Syst 56(2):373–394CrossRef Krishnamoorthy S (2018) Sentiment analysis of financial news articles using performance indicators. Knowl Inf Syst 56(2):373–394CrossRef
12.
go back to reference Malkiel BG, Fama EF (1970) Efficient capital markets: a review of theory and empirical work. J Finance 25(2):383–417CrossRef Malkiel BG, Fama EF (1970) Efficient capital markets: a review of theory and empirical work. J Finance 25(2):383–417CrossRef
13.
go back to reference Mnih V, Kavukcuoglu K, Silver D, Rusu AA, Veness J, Bellemare MG, Graves A, Riedmiller M, Fidjeland AK, Ostrovski G et al (2015) Human-level control through deep reinforcement learning. Nature 518(7540):529CrossRef Mnih V, Kavukcuoglu K, Silver D, Rusu AA, Veness J, Bellemare MG, Graves A, Riedmiller M, Fidjeland AK, Ostrovski G et al (2015) Human-level control through deep reinforcement learning. Nature 518(7540):529CrossRef
14.
go back to reference Murphy JJ (1999) Technical analysis of the financial markets: a comprehensive guide to trading methods and applications. Penguin, Westminster Murphy JJ (1999) Technical analysis of the financial markets: a comprehensive guide to trading methods and applications. Penguin, Westminster
15.
go back to reference Neely C, Weller P, Dittmar R (1997) Is technical analysis in the foreign exchange market profitable? a genetic programming approach. J Financ Quant Anal 32(4):405–426CrossRef Neely C, Weller P, Dittmar R (1997) Is technical analysis in the foreign exchange market profitable? a genetic programming approach. J Financ Quant Anal 32(4):405–426CrossRef
16.
go back to reference Nison S (2001) Japanese candlestick charting techniques: a contemporary guide to the ancient investment techniques of the Far East. Penguin, Westminster Nison S (2001) Japanese candlestick charting techniques: a contemporary guide to the ancient investment techniques of the Far East. Penguin, Westminster
18.
go back to reference Pai PF, Lin CS (2005) A hybrid arima and support vector machines model in stock price forecasting. Omega 33(6):497–505CrossRef Pai PF, Lin CS (2005) A hybrid arima and support vector machines model in stock price forecasting. Omega 33(6):497–505CrossRef
19.
go back to reference Petropoulos A, Chatzis SP, Siakoulis V, Vlachogiannakis N (2017) A stacked generalization system for automated forex portfolio trading. Expert Syst Appl 90:290–302CrossRef Petropoulos A, Chatzis SP, Siakoulis V, Vlachogiannakis N (2017) A stacked generalization system for automated forex portfolio trading. Expert Syst Appl 90:290–302CrossRef
21.
go back to reference Shiller RJ, Fischer S (1984) Stock prices and social dynamics. Brook Pap Econ Act 2:457–510 CrossRef Shiller RJ, Fischer S (1984) Stock prices and social dynamics. Brook Pap Econ Act 2:457–510 CrossRef
22.
go back to reference Silver D, Huang A, Maddison CJ, Guez A, Sifre L, van den Driessche G, Schrittwieser J, Antonoglou I, Panneershelvam V, Lanctot M et al (2016) Mastering the game of go with deep neural networks and tree search. Nature 529(7587):484CrossRef Silver D, Huang A, Maddison CJ, Guez A, Sifre L, van den Driessche G, Schrittwieser J, Antonoglou I, Panneershelvam V, Lanctot M et al (2016) Mastering the game of go with deep neural networks and tree search. Nature 529(7587):484CrossRef
23.
go back to reference Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R (2014) Dropout: a simple way to prevent neural networks from overfitting. J Mach Learn Res 15(1):1929–1958MathSciNetMATH Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R (2014) Dropout: a simple way to prevent neural networks from overfitting. J Mach Learn Res 15(1):1929–1958MathSciNetMATH
24.
go back to reference Taylor MP, Allen H (1992) The use of technical analysis in the foreign exchange market. J Int Money Finance 11(3):304–314CrossRef Taylor MP, Allen H (1992) The use of technical analysis in the foreign exchange market. J Int Money Finance 11(3):304–314CrossRef
25.
go back to reference Tieleman T, Hinton G (2012) Lecture 6.5-rmsprop: divide the gradient by a running average of its recent magnitude. COURSERA Neural Netw Mach Learn 4(2):26–31 Tieleman T, Hinton G (2012) Lecture 6.5-rmsprop: divide the gradient by a running average of its recent magnitude. COURSERA Neural Netw Mach Learn 4(2):26–31
26.
go back to reference Tsantekidis A, Passalis N, Tefas A, Kanniainen J, Gabbouj M, Iosifidis A (2017a) Forecasting stock prices from the limit order book using convolutional neural networks. In: 2017 IEEE 19th conference on business informatics (CBI), vol 1. IEEE, pp 7–12 Tsantekidis A, Passalis N, Tefas A, Kanniainen J, Gabbouj M, Iosifidis A (2017a) Forecasting stock prices from the limit order book using convolutional neural networks. In: 2017 IEEE 19th conference on business informatics (CBI), vol 1. IEEE, pp 7–12
27.
go back to reference Tsantekidis A, Passalis N, Tefas A, Kanniainen J, Gabbouj M, Iosifidis A (2017b) Using deep learning to detect price change indications in financial markets. In: 2017 25th European signal processing conference (EUSIPCO). IEEE, pp 2511–2515 Tsantekidis A, Passalis N, Tefas A, Kanniainen J, Gabbouj M, Iosifidis A (2017b) Using deep learning to detect price change indications in financial markets. In: 2017 25th European signal processing conference (EUSIPCO). IEEE, pp 2511–2515
28.
go back to reference Tsantekidis A, Passalis N, Tefas A, Kanniainen J, Gabbouj M, Iosifidis A (2018) Using deep learning for price prediction by exploiting stationary limit order book features. arXiv:1810.09965 Tsantekidis A, Passalis N, Tefas A, Kanniainen J, Gabbouj M, Iosifidis A (2018) Using deep learning for price prediction by exploiting stationary limit order book features. arXiv:​1810.​09965
29.
go back to reference Van den Oord A, Dieleman S, Zen H, Simonyan K, Vinyals O, Graves A, Kalchbrenner N, Senior AW, Kavukcuoglu K (2016) Wavenet: a generative model for raw audio. In: SSW, p 125 Van den Oord A, Dieleman S, Zen H, Simonyan K, Vinyals O, Graves A, Kalchbrenner N, Senior AW, Kavukcuoglu K (2016) Wavenet: a generative model for raw audio. In: SSW, p 125
30.
go back to reference Wang J, Zhou S, Guan J (2012) Detecting potential collusive cliques in futures markets based on trading behaviors from real data. Neurocomputing 92:44–53CrossRef Wang J, Zhou S, Guan J (2012) Detecting potential collusive cliques in futures markets based on trading behaviors from real data. Neurocomputing 92:44–53CrossRef
31.
go back to reference Werbos PJ (1990) Backpropagation through time: what it does and how to do it. Proc IEEE 78(10):1550–1560CrossRef Werbos PJ (1990) Backpropagation through time: what it does and how to do it. Proc IEEE 78(10):1550–1560CrossRef
32.
go back to reference Zhang X, Li Y, Wang S, Fang B, Philip SY (2019) Enhancing stock market prediction with extended coupled hidden markov model over multi-sourced data. Knowl Inf Syst 61(2):1071–1090CrossRef Zhang X, Li Y, Wang S, Fang B, Philip SY (2019) Enhancing stock market prediction with extended coupled hidden markov model over multi-sourced data. Knowl Inf Syst 61(2):1071–1090CrossRef
Metadata
Title
Transferring trading strategy knowledge to deep learning models
Authors
Avraam Tsantekidis
Anastasios Tefas
Publication date
24-09-2020
Publisher
Springer London
Published in
Knowledge and Information Systems / Issue 1/2021
Print ISSN: 0219-1377
Electronic ISSN: 0219-3116
DOI
https://doi.org/10.1007/s10115-020-01510-y

Other articles of this Issue 1/2021

Knowledge and Information Systems 1/2021 Go to the issue

Premium Partner