Can Deep Learning Beat a Naive Baseline for Short-Horizon Stock Price Prediction? An Empirical Study Across 20 Large-Cap US Stocks
Abstract
This paper asks a simple question: can LSTM, GRU, and Transformer models outperform a zero-return rule at predicting next-hour stock prices, when the only inputs are hourly OHLCV data? We test this across 20 large-cap US stocks on two separate datasets — one drawn live from Yahoo Finance covering the past 730 days, the other a static archive spanning 1998 to 2024 with around 46,000 records per stock. Training and evaluation follow strict chronological order throughout to avoid any forward-looking bias. None of the three models reliably beats the Naive baseline on either dataset. Win-rates sit between 10% and 35%, and Wilcoxon signed-rank tests put model performance consistently below the baseline. The pattern holds across both datasets and both data volumes, which points to a fairly clear conclusion: OHLCV data alone, however much of it, does not provide enough signal for reliable short-horizon price prediction — consistent with what the Efficient Market Hypothesis would lead one to expect.
References
- Fama, E.F. (1970). Efficient capital markets: A review of theory and empirical work. J. Finance 25(2): 383–417.
- Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Comput. 9(8): 1735–1780.
- Cho, K., van Merrienböer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014). Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv: 1406.1078.
- Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., & Polosukhin, I. (2017). Attention is all you need. Adv. Neural Inf. Process. Syst., 30.
- Kadak, A. et al. (2025). Stock market trend prediction using deep neural network via chart analysis: a practical method or a myth? Humanit. Soc. Sci. Commun. (Nature).
- Bedi, P. et al. (2025). Machine learning, stock market forecasting, and market efficiency: a comparative study. Int. J. Data Sci. Anal., Springer.
- Xiong, M., Xu, K., Yin, J., & Wang, W. (2025). Overestimated stock market forecasts resulting from the one-time denoising. Appl. Intell. 55: 112.