Research on Stock Portfolio Construction Based on Bi-LSTM Neural Networks

Jiawei Li
DOI: https://doi.org/10.54097/u1wm896m
2024-06-28
Abstract:In recent years, the rapid globalisation of China's financial market has provided more opportunities for investors, but also brought about a more complex investment environment. This paper constructs stock portfolios based on Bi-LSTM neural networks, aiming to improve the accuracy of stock price prediction and the optimisation of investment portfolios using deep learning techniques. The theoretical part introduces the portfolio theory, including the mean-variance model and the capital asset pricing model, and explores the advantages of LSTM, Bi-LSTM and ATT-LSTM in processing time series data. The constituent stocks of CSI 300 index are selected in the research design part, and the stocks are screened using entropy weighted TOPSIS method and analysed based on the data from January 2018 to April 2024. The closing price and logarithmic return are predicted by constructing and using LSTM, Bi-LSTM and ATT-LSTM models, and then the trading strategies of EMA, MACD double conditions are determined, and the investment weights are determined by Monte Carlo method for the investment portfolio. The results of the empirical study show that the Bi-LSTM model has the optimal prediction performance, and based on the prediction data of the model, the trading strategy using the dual conditions of EMA and MACD achieves a higher investment return than the strategy using only MACD. In summary, this paper demonstrates the superiority of Bi-LSTM model in stock price prediction through empirical research, and proposes an effective portfolio construction method and trading strategy, which helps investors make more effective decisions in the complex market environment.
What problem does this paper attempt to address?