Algorithmic trading strategy based on the integration of deep learning models and natural language processing
Abstract
The most important goal for people trading in stock markets is to earn a profit. This profit can be obtained from price increases or decreases in a two-sided market, where stockholders gain profit from the difference in purchase and sale prices. This research aims to provide an integrated algorithmic trading system to improve the Sharpe ratio performance index for selecting stocks and maximizing returns during market ups and downs. The proposed strategy utilizes word2vector, autoencoder, and long short-term memory-artificial neural network (LSTM–ANN) methods. We assume that as the markets interact with the news, an internal connection is created between economic and political news and forecasting the market's price trend. The trading system is developed based on price and news to extract features that predict negative or positive market reactions. The tests show that the proposed Price and Price&News trading systems are superior to the Buy&Hold strategy in the S&P500 market. This research studies price data and portfolio news consisting of 15 stocks. The Price&News strategy yielded a 23% higher return than the Buy&Hold strategy, accompanied by a 2.6 improvement in the Sharpe ratio. Additionally, it outperformed the Price algorithm with an 8% higher return and a 0.82 improvement in the Sharpe ratio. © The Author(s), under exclusive licence to Springer Nature Switzerland AG 2024.