Abstract
Predicting stock market movements is a complex challenge characterized by high noise-to-signal ratios. While traditional quantitative models often rely on low-frequency daily data and manually crafted "expert features," this research explores the efficacy of deep learning architectures—specifically Long Short-Term Memory (LSTM) and Convolutional Neural Networks (CNN)—applied to high-frequency price-volume data. By analyzing 15-minute and 120-minute intervals within the Chinese A-share market (CSI300 Index), the study demonstrates that these models can autonomously extract predictive patterns, achieving a 42% classification accuracy and outperforming market benchmarks in backtesting.
Introduction
Stock selection in volatile markets like China's A-share market often suffers from the limitations of "coarse" daily data, which fails to capture the nuanced intra-day dynamics that drive short-term price movements. Furthermore, traditional quantitative strategies frequently depend on indicators like moving averages or RSI, which may not generalize across different market environments. This paper investigates whether deep learning can bridge this gap by processing raw, high-frequency price-volume data to identify non-linear dynamics without human-biased feature engineering.
Methodology and Model Architecture
The researchers evaluated two primary deep learning frameworks to determine their suitability for financial time-series forecasting:
1. Long Short-Term Memory (LSTM)
LSTM networks were selected for their capacity to retain long-term dependencies in sequential data. The study compared two specific configurations:
- Model S (Short-term): Utilized 15-minute data from the preceding trading day.
- Model L (Long-term): Utilized 120-minute data spanning the previous ten trading days.
2. Convolutional Neural Networks (CNN)
While typically associated with computer vision, the CNN was adapted to treat a day’s worth of 15-minute intervals as a 2D grid. A specialized 1x11 kernel was employed to convolve across 11 distinct price-volume features simultaneously, allowing the model to act as an automated feature extractor.
Key Structural Innovations
To optimize these models for the financial domain, the authors implemented two critical refinements:
- SpatialDropout: Unlike standard dropout, which omits individual neurons, SpatialDropout removes entire feature columns during training. This prevents the model from over-relying on dominant indicators (e.g., Closing Price) and forces it to learn from diverse combinations of volume and price metrics.
- Architecture Pruning: The researchers discovered that removing "pooling" layers—a staple in image-based CNNs—improved performance. In financial forecasting, pooling can discard precise temporal information that is vital for predicting price direction.
Data and Experimental Design
The study focused on the CSI300 Index, representing the top 300 stocks on the Shanghai and Shenzhen exchanges.
- Features: The models were fed 11 primary variables, including Open/High/Low/Close prices, trading volume, transaction amounts, number of transactions, and commission ratios.
- Timeframe: The training phase utilized data from July 2014 to December 2018, while backtesting was conducted on an out-of-sample set from January to May 2019.
- Classification: The models were tasked with categorizing stock movements into four buckets: "Fall Sharply," "Fall Slightly," "Rise Slightly," and "Rise Sharply."
Results and Discussion
Predictive Accuracy
The final CNN model achieved a classification accuracy of approximately 42%. Given a random baseline of 25% for a four-class problem, this represents a significant predictive edge. Confusion matrices indicated that the models were particularly adept at identifying "extreme" movements (Sharp Rises and Sharp Falls), which are the most critical for risk management and profit maximization.
Backtesting Performance
In real-world simulations accounting for transaction fees, the deep learning models outperformed the market index:
- CNN Model: 19.61% net profit.
- LSTM Model: 16.27% net profit.
- CSI300 Baseline: 16.02%.
Insights on Temporal Context
A key finding was that Model L (LSTM) outperformed Model S, suggesting that multi-day context is necessary to distinguish meaningful trends from high-frequency noise. Additionally, the success of the simplified CNN architecture (one convolution layer followed by two dense layers) suggests that in the noisy environment of stock trading, deeper models are often prone to overfitting rather than better generalization.
Conclusion and Future Directions
This research confirms that high-frequency price-volume data contains valuable signals that deep learning models can exploit for stock selection. The CNN's ability to outperform the LSTM in backtesting highlights its strength as an automated feature extractor in financial contexts.
Future work may involve the use of Reinforcement Learning (RL) to better manage the impact of transaction fees by training agents to maximize net returns directly. Furthermore, increasing data granularity to 1-minute or 5-minute intervals may reveal even more subtle market patterns that 15-minute snapshots currently overlook.
Summary updated