Deep learning and the stock market

The financial industry has been one of the more enthusiastic exponents of automation in recent years, especially on the trading floor, where algorithmic trading is now commonplace.  Indeed, Commerzbank have been outspoken about their desire to automate 80% of its processes in the coming years.

A sign of the progress being made comes via a recent paper published by the School of Business and Economics at Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU).  It shows the potential for algorithms to make extremely profitable investment decisions.

When the algorithm was applied to members of the S&P 500 between 1992 and 2015, the picks generated double digit annual returns, with a particular strength during times of economic turmoil.

AI and capital market data

“Equity markets exhibit complex, often non-linear dependencies,” the team say. “However, when it comes to selecting stocks, established methods are mainly modelling simple relationships. For example, the momentum effect only focuses on a stock’s return over the past months and assumes a continuation of that performance in the months to come. We saw potential for improvements.”

The researchers used a combination of deep learning, gradient boosting and random forests to generate daily predictions for every stock in the S&P 500 during the time period.

Each method was trained using 180 million different data points, with the algorithms developing knowledge of a complex function that described the relationship between the price-based features of the stock, and its future performance, with impressive results.

“Since the year 2000, we observed statistically and economically significant returns of more than 30% per annum. In the nineties, results were even higher, reflecting a time when our machine learning approaches had not yet been invented,” the authors say.

Overcoming the efficient market

The authors believe their work poses a considerable challenge to the efficient-market hypothesis, with returns from the algorithm particularly strong during turbulent periods such as the dot-com crash or the global credit crunch in 2008.  The authors believe this is because such periods tend to see emotion driving investment decisions.

Whilst the results are undoubtedly promising, the researchers urge a degree of caution, and not to go overboard in any belief that such an approach represents a holy grail.

“In the latter years of the study profitability fell and even dipped into the negative at times. We assume that this decline was driven by the rising influence of artificial intelligence in modern trading – facilitated by increasing computing power and the popularisation of machine learning. We assume that the downturn may have been caused by the increasing influence of artificial intelligence in modern trading,” they say.

They’re looking to refine the process however by feeding the algorithms with much bigger data sets and deeper network architectures to help identify temporal dependencies.  In early tests of this modified approach, the forecasting ability and quality rose significantly, even against modern algorithmic peers.  It will be a project to watch with interest.



Leave a Reply

Your email address will not be published. Required fields are marked *