Affiliation:
1. School of Computer Science The University of Sydney Sydney NSW Australia
2. School of Computer Science and Engineering The University of New South Wales Sydney NSW Australia
Abstract
AbstractStock prices forecasting has always been a challenging task. Although many research projects adopt machine learning and deep learning algorithms to address the problem, few of them pay attention to the varying degrees of dependencies between stock prices. In this paper we introduce a hybrid model that improves stock price prediction by emphasizing the dependencies between adjacent stock prices. The proposed model, ResNLS, is mainly composed of two neural architectures, ResNet and LSTM. ResNet serves as a feature extractor to identify dependencies between stock prices across time windows, while LSTM analyses the initial time‐series data with the combination of dependencies which considered as residuals. In predicting the SSE Composite Index, our experiment reveals that when the closing price data for the previous five consecutive trading days is used as the input, the performance of the model (ResNLS‐5) is optimal compared to those with other inputs. Furthermore, ResNLS‐5 outperforms vanilla CNN, RNN, LSTM, and BiLSTM models in terms of prediction accuracy. It also demonstrates at least a 20% improvement over the current state‐of‐the‐art baselines. To verify whether ResNLS‐5 can help clients effectively avoid risks and earn profits in the stock market, we construct a quantitative trading framework for back testing. The experimental results show that the trading strategy based on predictions from ResNLS‐5 can successfully mitigate losses during declining stock prices and generate profits in the periods of rising stock prices.
Subject
Artificial Intelligence,Computational Mathematics
Reference61 articles.
1. Stock prices and social dynamics;Shiller RJ;Brookings Pap Econ Act,1984
2. Monetary environments and international stock returns;Conover CM;J Bank Financ,1999
3. Uncertainty about government policy and stock prices;Pastor L;J Financ,2012
4. Impacts of internal and external macroeconomic factors on firm stock price in an expansion econometric model—a case in Vietnam real estate industry;Huy DTN;Data Sci Financ Economet,2021
5. Stock price and operating performance of ESOP firms: A time‐series analysis;Iqbal Z;Q J Bus Econ,2000