Stock Prediction based on BP Neural Network

Authors

  • Siqi Li

DOI:

https://doi.org/10.62051/vol3pp8-12

Keywords:

Neural Network; Model Prediction; Stock Trend.

Abstract

In this paper, using Wind database, the stock code 600276 is selected as the main research object, and the daily K data from 15 October 2018 to 14 October 2022 is selected. The variables in the article are Open Price, Close Price, High Price, Low Price, Volume, and Amount. Firstly, the data is normalized and then a BP neural network model is used for training. In the model after several training sessions, the reciprocal 20 pieces of data in the "opening price" variable are selected as the data for the prediction set to observe the training. Finally, the results of the test set of real stock price tests are introduced and the predicted results are visualized. It is concluded that when the hidden layer nodes of the neural network are fewer, the structure of the neural network is too simple, then its learning ability and classification ability will be reduced, but if the hidden layer nodes are too much, the structure of the neural network is too complex, the network is overloaded, and the efficiency will be reduced, and the ability of the promotion will be deteriorated. Therefore, neural network training should ensure the classification ability of the neural network on the one hand and the promotion ability of the neural network on the other hand.

Downloads

Download data is not yet available.

References

Jin Yunhui, Yang Wen. An empirical analysis of liquidity factors in Shanghai stock market. Financial Research, 2002 (6): 12.

Pan Liangjie. Analysis of liquidity factors in China's stock market: Empirical evidence from China's A-share stock market. Journal of Finance and Economics, 2010 (10): 63-64.

Bing Zhang, Xiaoming Li; A study on the asymptotic effectiveness of China's stock market, Economic Research; 2003(01): 9.

Ariyo A A, Adewumi A O, Ayo C K. Stock price prediction using the ARIMA model, 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation. IEEE, 2014: 106-11.

Zhang Xiao, Wei Zengxin, Application of random forest in stock trend prediction, China Management Information Technology, 2018,03.

Patel J, Shah S, Thakkar P, et al. Predicting stock and stock price index movement using trend deterministic data preparation and machine learning techniques. Expert systems with applications, 2015, 42 (1): 259–268.

Long W, Lu Z, Cui L. Deep learning-based feature engineering for stock price movement prediction. Knowledge-Based Systems, 2019, 164: 163–173.

Yu P, Yan X. Stock price prediction based on deep neural networks. Neural Computing and Applications, 2020, 32: 1609–1628.

Gu D S, Peng H S, Lei W D. Neural network assessment of sustainable development in mining industry. Nonferrous Metals,2000,2: 8-9.

Yadav A, Jha C, Sharan A. Optimizing LSTM for time series prediction in Indian stock market. Procedia Computer Science, 2020, 167: 2091–2100.

Downloads

Published

25-12-2023

How to Cite

Li, S. (2023). Stock Prediction based on BP Neural Network. Transactions on Economics, Business and Management Research, 3, 8-12. https://doi.org/10.62051/vol3pp8-12