JAMC

Article http://dx.doi.org/10.26855/jamc.2025.03.006

A Neural Network-based Stock Timing Model

TOTAL VIEWS: 301

Zhuoxin Lei

Sendelta International Academy Shenzhen, Shenzhen 518108, Guangdong, China.

*Corresponding author:Zhuoxin Lei

Published: April 21,2025

Abstract

The stock market is inherently complex and volatile, making stock prediction crucial for investors. Traditional forecasting methods often struggle to adapt to the ever-changing nature of market dynamics. This paper proposes a neural network model for stock timing, aiming to predict stock price trends and provide actionable insights for investment strategies. We utilize historical daily trading data of Sinopec (600028.SH) from 20010808 to 20240618, including key features such as opening price, closing price, highest price, lowest price, and trading volume. The data undergoes thorough preprocessing, including missing value imputation, outlier detection, and normalization, ensuring that the neural network model can learn effectively from the time-series data. The model is built using a Multi-Layer Perceptron (MLP) architecture, with the Sigmoid activation function for binary classification of stock price movement trends. The model’s performance is evaluated based on accuracy, with results indicating a 37% error rate. This study demonstrates the potential of neural networks to enhance stock prediction accuracy while emphasizing the importance of continuous model refine-ment and the incorporation of up-to-date market data for improved forecasting.

References

[1] Zhou Z. Machine Learning. 1st ed. Tsinghua University Press; 2016.

[2] Lopez de Prado M. Advances in Financial Machine Learning. 1st ed. Wiley; 2018.

[3] Chan E. Algorithmic Trading: Winning Strategies and Their Rationale. 1st ed. Wiley; 2013.

[4] Zhang W. Research on Multi-Factor Stock Selection and Timing Strategies Based on Industry [dissertation]. Zhongnan University of Economics and Law; 2022.

[5] Hua Y. Research on Stock Timing Based on BP Neural Network Model [dissertation]. Shenyang University of Technology; 2019.

[6] Hu Y. Stock Market Timing Model Based on Convolutional Neural Networks: A Case Study on the Shanghai Composite Index. Financ Econ. 2018;(04):71-4.

[7] Lu M, Xu X. TRNN: An efficient time-series recurrent neural network for stock price prediction. Information Sciences. 2024;657:119951.

[8] Wong S Y K, Chan J S K, Azizi L, et al. Time-varying neural network for stock return prediction. Intell. Syst. Account. Finance Manag. 2022;29(1):3-18.

How to cite this paper

A Neural Network-based Stock Timing Model

How to cite this paper: Zhuoxin Lei. (2025) A Neural Network-based Stock Timing Model. Journal of Applied Mathematics and Computation9(1), 48-52.

DOI: http://dx.doi.org/10.26855/jamc.2025.03.006