Learning Gated Bayesian Networks for Algorithmic Trading

  • Marcus Bendtsen
  • Jose M. Peña
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8754)


Gated Bayesian networks (GBNs) are a recently introduced extension of Bayesian networks that aims to model dynamical systems consisting of several distinct phases. In this paper, we present an algorithm for semi-automatic learning of GBNs. We use the algorithm to learn GBNs that output buy and sell decisions for use in algorithmic trading systems. We show how using the learnt GBNs can substantially lower risks towards invested capital, while at the same time generating similar or better rewards, compared to the benchmark investment strategy buy-and-hold.


Probabilistic graphical models Bayesian networks algorithmic trading decision support 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Treleaven, P., Galas, M., Lalchand, V.: Algorithmic Trading Review. Commun. ACM. 56, 76–85 (2013)CrossRefGoogle Scholar
  2. 2.
    Nuti, G., Mirghaemi, M., Treleaven, P., Yingsaeree, C.: Algorithmic Trading. Computer 44, 61–69 (2011)CrossRefGoogle Scholar
  3. 3.
    Pearl, J.: Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann (1988)Google Scholar
  4. 4.
    Jensen, F.V., Nielsen, T.D.: Bayesian Networks and Decision Graphs. Springer (2007)Google Scholar
  5. 5.
    Bendtsen, M., Peña, J.M.: Gated Bayesian Networks. In: 12th Scandinavian Conference on Artificial Intelligence, pp. 35–44. IOS Press (2013)Google Scholar
  6. 6.
    Pardo, R.: The Evaluation and Optimization of Trading Strategies. John Wiley & Sons (2008)Google Scholar
  7. 7.
    Chan, E.P.: Quantitative Trading: How to Build Your Own Algorithmic Trading Business. John Wiley & Sons (2009)Google Scholar
  8. 8.
    Sharpe, W.F.: Likely Gains from Market Timing. Financial Analysts Journal 31, 60–69 (1975)CrossRefGoogle Scholar
  9. 9.
    Tashman, L.J.: Out-of-Sample Tests of Forecasting Accuracy: An Analysis and Review. International Journal of Forecasting 11, 437–450 (2000)CrossRefGoogle Scholar
  10. 10.
    Journal of Technical Analysis,
  11. 11.
    Murphy, J.J.: Technical Analysis of the Financial Markets. New York Institute of Finance (1999)Google Scholar
  12. 12.
    Liehr, S., Pawelzik, K., Kohlmorgen, J., Lemm, S., Müller, K.-R.: Hidden Markov Gating for Prediction of Change Points in Switching Dynamical Systems. In: ESANN, pp. 405–410 (1999)Google Scholar
  13. 13.
    Peña, J.M.: Every LWF and AMP Chain Graph Originates From a Set of Causal Models. ArXiv e-prints (2013)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Marcus Bendtsen
    • 1
  • Jose M. Peña
    • 1
  1. 1.Department of Computer and Information ScienceLinköping UniversitySweden

Personalised recommendations