Deep Learning-based Stock Price Prediction Using Limit Order Books and News Headlines

Euirim Ryoo, Ki Yong Lee, Yon Dohn Chung

Abstract


Recently, various studies have been conducted on stock price prediction using machine learning and deep learning techniques. Among these studies, the latest studies have attempted to predict stock prices using limit order books, which contain buy and sell order information of stocks. However, most of the studies using limit order books consider only the trend of limit order books over the most recent period of a specified length, and few studies consider both the medium and short term trends of limit order books. Therefore, in this paper, we propose a deep learning-based prediction model that predicts stock price more accurately by considering both the medium and short term trends of limit order books. Moreover, the proposed model considers news headlines during the same period to reflect the qualitative status of the company in the stock price prediction. The proposed model extracts the features of changes in limit order books with CNNs and the features of news headlines using Word2vec, and combines these information to predict whether a particular company’s stock will rise or fall the next day. We conducted experiments to predict the daily stock price fluctuations of five stocks (Amazon, Apple, Facebook, Google, Tesla) with the proposed model using the real NASDAQ limit order book data and news headline data, and the proposed model improved the accuracy by up to 17.66%p and the average by 14.47%p on average. In addition, we conducted a simulated investment with the proposed model and earned a minimum of $492.46 and a maximum of $2,840.93 depending on the stock for 21 business days.

  

Full Text:

PDF

References


Akita, R., Yoshihara, A., Matsubara, T., and Uehara, K., “Deep learning for stock prediction using numerical and textual information,” 2016 IEEE/ACIS 15th International Conference on Computer and Information Science (ICIS), pp. 1-6, 2016.

Bao, W., Yue, J., and Rao, Y., “A deep learning framework for financial time series using stacked autoencoders and long-short term memory,” PLOS ONE, Vol. 12, No. 7, 2017.

Kim, M., Ryu, J., Cha, D., and Sim, M. K., “Stock price prediction using sentiment analysis: From ‘stock discussion room’ in Naver,” The Journal of Society for e-Business Studies, Vol. 25, No. 4, pp. 61-75, 2020.

Lavrenko, V., Schmill, M., Lawrie, D., Ogilvie, P., Jensen, D., and Allan, J., “Mining of concurrent text and time series,” In KDD-2000 Workshop on Text Mining, pp. 37-44, 2000.

Lee, C. and Soo, V., “Predict Stock Price with Financial News Based on Recurrent Convolutional Neural Networks,” 2017 Conference on Technologies and Applications of Artificial Intelligence (TAAI), pp. 160-165, 2017.

Li, X., Xie, H., Chen, L., Wang, J., and Deng, X., “News impact on stock price return via sentiment analysis,” Knowledge-Based Systems, Vol. 69, pp. 14-23, 2014.

Nasdaq TotalView-ITCH, https://www.nasdaqtrader. com/Trader.aspx?id=Totalview2.

Peng, Y. and Jiang, H., “Leverage financial news to predict stock price movements using word embeddings and deep neural networks,” in Proc. NAACL-HLT. San Diego, CA, USA: Association for Computational Linguistics, pp. 374–379, 2016.

Ryoo, E., Kim, C., and Lee, K. Y., “Deep learning-based stock price prediction using limit order books and News Headlines,” Annual Conference of KIPS (ACK) 2021, pp. 541-544, 2021.

Tsantekidis, A., Passalis, N., Tefas, A., Kanniainen, J., Gabbouj, M., and Iosifidis, A., “Using deep learning to detect price change indications in financial markets,” 2017 25th European Signal Processing Conference (EUSIPCO), pp. 2511-2515, 2017.

Vargas, M. R., de Lima, B. S. L. P., and Evsukoff, A. G., “Deep learning for stock market prediction from financial news articles,” 2017 IEEE International Conference on Computational Intelligence and Virtual Environments for Measurement Systems and Applications (CIVEMSA), pp. 60-65, 2017.

W. Jiang, “Applications of deep learning in stock market prediction: Recent progress,” Expert Systems with Applications, Vol. 184, 2021.

Word2vec, https://code.google.com/archive/p/word2vec.

Zhang, Z., Zohren, S., and Roberts, S., “DeepLOB: Deep convolutional neural networks for limit order books,” IEEE Transactions on Signal Processing, Vol. 67, No. 11, pp. 3001-3012, 2019.

Zhou, X., Pan, Z, Hu, G., Tang, S., and Zhao, C., “Stock market prediction on high-frequency data using generative adversarial nets,” Mathematical Problems in Engineering, Vol. 2018, Article ID 4907423, 11 pages, 2018.


Refbacks

  • There are currently no refbacks.