Machine Learning and the Stock Market

73 Pages Posted: 27 Aug 2018 Last revised: 31 Jan 2022

See all articles by Jonathan Brogaard

Jonathan Brogaard

University of Utah - David Eccles School of Business

Abalfazl Zareei

Stockholm University

Date Written: January 26, 2021


Practitioners allocate substantial resources to technical analysis whereas academic theories of market efficiency rule out technical trading profitability. We study this long-standing puzzle by applying a diverse set of machine learning algorithms. The results show that an investor can find profitable technical trading rules using past prices, and that this out-of-sample profitability decreases through time, showing that markets have become more efficient over time. In addition, we find that the evolutionary genetic algorithm’s attitude in not shying away from erroneous predictions gives it an edge in building profitable strategies compared to the strict loss-minimization-focused machine learning algorithms.

Keywords: Technical trading, Machine learning, Big data analysis

JEL Classification: B26, G12, G14, C58, N20

Suggested Citation

Brogaard, Jonathan and Zareei, Abalfazl, Machine Learning and the Stock Market (January 26, 2021). Proceedings of Paris December 2020 Finance Meeting EUROFIDAI - ESSEC, Available at SSRN: or

Jonathan Brogaard (Contact Author)

University of Utah - David Eccles School of Business ( email )

1645 E Campus Center Dr
Salt Lake City, UT 84112-9303
United States


Abalfazl Zareei

Stockholm University ( email )

Universitetsvägen 10
Stockholm, Stockholm SE-106 91

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Abstract Views
PlumX Metrics