Exploring Market Efficiency with GRU-D Neural Networks: Evidence from Global Stock Markets
Abstract
1. Introduction
2. Literature Review: Market Efficiency and Machine Learning Models
3. Research Design
3.1. Data and Sample
- -
- Asset prices time series data OHLC-(Open, Low, High, Close and Volume) with daily frequency.
- -
- Financial data with a total of 50 data points1 as well as their publication dates, which generally fall in the third month of each year (March). These data comprise 28 balance sheet variables and 22 income statement variables.
- -
- Fundamental data with a total of 27 data points (such as PER, ROE, ROA), including their publication date.
3.2. Data Preprocessing
3.3. Variables Construction
3.3.1. Dependent Variables
3.3.2. Independent Variables
- -
- Raw data on asset prices and logarithmic returns: The raw data includes asset prices (open, close, high, low and trading volume) and adjusted closing prices. These prices are transformed into logarithmic returns.
- -
- Seasonal data: Two variables are included in this category. The first variable is the day of the week, which takes values 1–5 (Monday–Friday). The second variable denotes the calendar week of the year, taking values from 1 to 52. These variables try to capture well-documented market anomalies such as the weekend effect (Penman, 1987) and the January effect (Ariel, 1987).
- -
- Chartist indicators: They were selected using the approaches proposed by Prachyachuwong and Vateekul (2021) and Širůček and Šíma (2016). The set of indicators includes the Relative Strength Index, Moving Average Convergence Divergence and Chande Momentum Oscillator, among others4.
3.4. Experimental Design
3.4.1. Training and Testing Design
3.4.2. The GRU-D Model Implementation
3.4.3. Learning Phase
4. Empirical Results and Discussion
4.1. Predictive Power of the GRU-D Model
4.2. Implications for Weak and Semi-Strong Market Efficiency
4.3. Additional Analysis
4.3.1. Market Efficiency Across Countries and Sectors
4.3.2. Market Efficiency Under COVID-19
4.3.3. Price Memory Limit Dynamics
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A. List of Countries and Sectors
| N°. | Country/Region | Sectors |
| 1 | France | Credit Services |
| 2 | Spain | Semiconductor Equipment & Materials |
| 3 | Italy | Application Software |
| 4 | Denmark | Medical Appliances & Equipment |
| 5 | Brazil | Business Software & Services |
| 6 | United Kingdom | Independent Oil & Gas |
| 7 | Sweden | Money Center Banks |
| 8 | Ireland | Biotechnology |
| 9 | Taiwan | Wireless Communications |
| 10 | Turkey | Entertainment-Diversified |
| 11 | Russia | Internet Information Providers |
| 12 | Germany | Auto Parts |
| 13 | India | Oil & Gas Pipelines |
| 14 | Norway | Textile-Apparel Footwear & Accessories |
| 15 | Austria | Information Technology Services |
| 16 | Singapore | Gold |
| 17 | Belgium | Steel & Iron |
| 18 | Canada | Restaurants |
| 19 | New Zealand | Specialty Chemicals |
| 20 | Hong Kong | Resorts & Casinos |
| 21 | Argentina | Real Estate Development |
| 22 | Indonesia | Diversified Machinery |
| 23 | Thailand | Food-Major Diversified |
| 24 | Australia | Aerospace/Defense-Major Diversified |
| 25 | USA | Asset Management |
| 26 | Greece | Auto Manufacturers-Major |
| 27 | Finland | Property & Casualty Insurance |
| 28 | Switzerland | Diversified Electronics |
| 29 | Netherlands | Personal Products |
| 30 | Mexico | Packaging & Containers |
| 31 | Portugal | General Contractors |
| 32 | Electric Utilities | |
| 33 | Diversified Utilities | |
| 34 | Communication Equipment | |
| 35 | Technical & System Software | |
| 36 | Drug Manufacturers-Major | |
| 37 | Industrial Metals & Minerals | |
| 38 | Major Integrated Oil & Gas | |
| 39 | Chemicals-Major Diversified | |
| 40 | Business Services | |
| 41 | Property Management | |
| 42 | Oil & Gas Equipment & Services | |
| 43 | Specialty Retail, Other | |
| 44 | Farm Products | |
| 45 | Conglomerates | |
| 46 | General Building Materials | |
| 47 | Life Insurance |
| 1 | Unit of time-series data, whether collected directly or derived from financial statements, OHLC data, or any other source of financial information. Each data point represents a specific financial metric—such as total revenue, net profit, assets, liabilities, or stock price movements—tracked over a series of time intervals. |
| 2 | Full details on countries and sectors are provided in Appendix A. |
| 3 | The detailed list of these variables is available upon request. |
| 4 | The detailed list is available upon request. |
| 5 | PyTorch is a widely used open-source deep learning framework initially developed by Meta. |
| 6 | https://github.com/Han-JD/GRU-D (accessed on 1 January 2020). |
| 7 | This means that when a financial variable is missing for several periods, its last known value is gradually downweighted based on the time elapsed since its last observation. Rather than manually fixing the decay rates, the model learns them directly from the data, allowing it to adapt to the specific patterns and timing of missing data (Che et al., 2018). |
| 8 | A commonly used optimization algorithm in machine learning that adjusts model weights based on gradients, improving training speed and accuracy. |
| 9 | Price memory refers to the tendency for past prices to influence current or future prices, often due to the way information is processed and retained by market participants or systems (Chow et al., 1995). |
References
- Alexakis, C., Patra, T., & Poshakwale, S. (2010). Predictability of stock returns using financial statement information: Evidence on semi-strong efficiency of emerging Greek stock market. Applied Financial Economics, 20(16), 1321–1326. [Google Scholar] [CrossRef][Green Version]
- Ariel, R. A. (1987). A monthly effect in stock returns. Journal of Financial Economics, 18(1), 161–174. [Google Scholar] [CrossRef]
- Baker, M., & Wurgler, J. (2006). Investor sentiment and the cross-section of stock returns. The Journal of Finance, 61(4), 1645–1680. [Google Scholar] [CrossRef]
- Barberis, N., Huang, M., & Santos, T. (2001). Prospect theory and asset prices. The Quarterly Journal of Economics, 116(1), 1–53. Available online: https://www.jstor.org/stable/2696442 (accessed on 15 March 2025). [CrossRef]
- Bhuiyan, M. D. S. M., Rafi, M. D. A. L., Rodrigues, G. N., Mir, M. N. H., Ishraq, A., Mridha, M. F., & Shin, J. (2025). Deep learning for algorithmic trading: A systematic review of predictive models and optimization strategies. Array, 26, 100390. [Google Scholar] [CrossRef]
- Bodie, Z., Kane, A., & Marcus, A. J. (2009). Investments. McGraw-Hill/Irwin. [Google Scholar]
- Budiharto, W. (2021). Data science approach to stock prices forecasting in Indonesia during COVID-19 using long short-term memory (LSTM). Journal of Big Data, 8(1), 47. [Google Scholar] [CrossRef] [PubMed]
- Che, Z., Purushotham, S., Cho, K., Sontag, D., & Liu, Y. (2018). Recurrent neural networks for multivariate time series with missing values. Scientific Reports, 8, 6085. [Google Scholar] [CrossRef] [PubMed]
- Choi, S.-Y. (2021). Analysis of stock market efficiency during crisis periods in the US stock market: Differences between the global financial crisis and COVID-19 pandemic. Physica A: Statistical Mechanics and Its Applications, 574, 125988. [Google Scholar] [CrossRef]
- Chow, K. V., Denning, K. C., Ferris, S. P., & Noronha, G. (1995). Long-term and short-term price memory in the stock market. Economics Letters, 49(3), 287–293. [Google Scholar] [CrossRef]
- Daniel, K., Hirshleifer, D., & Subrahmanyam, A. (1998). Investor psychology and security market under- and overreactions. The Journal of Finance, 53(6), 1839–1885. [Google Scholar] [CrossRef]
- Diamond, N., & Perkins, G. (2022). Using intermarket data to evaluate the efficient market hypotheses with machine learning. arXiv. [Google Scholar] [CrossRef]
- Dimitriadou, A., Gogas, P., Papadimitriou, T., & Plakandaras, V. (2018). Oil market efficiency under a machine learning perspective. Forecasting, 1(1), 157–168. [Google Scholar] [CrossRef]
- Ding, X., Zhang, Y., Liu, T., & Duan, J. (2015, July 25–31). Deep learning for event-driven stock prediction [Conference paper]. Twenty-Fourth International Joint Conference on Artificial Intelligence (IJCAI 2015) (pp. 2327–2333), Buenos Aires, Argentina. Available online: https://www.ijcai.org/Proceedings/15/Papers/329.pdf (accessed on 15 March 2025).
- Doe, J. (2024). Comparative analysis of machine learning and traditional models in economic forecasting. Journal of Computer Technology and Software, 3(3), 1–6. [Google Scholar] [CrossRef]
- Dos Santos Pinheiro, L., & Dras, M. (2017, December 6–8). Stock market prediction with deep learning: A character-based neural language model for event-based trading. Australasian Language Technology Association Workshop 2017 (pp. 6–15), Brisbane, Australia. [Google Scholar]
- Dželihodžić, A., Žunić, A., & Žunić Dželihodžić, E. (2024). Predictive modeling of stock prices using machine learning: A comparative analysis of LSTM, GRU, CNN, and RNN models. In N. Ademović, Z. Akšamija, & A. Karabegović (Eds.), Advanced technologies, systems, and applications IX (IAT 2024) (Vol. 1143, pp. 447–467). Lecture Notes in Networks and Systems. Springer. [Google Scholar] [CrossRef]
- Fama, E. F. (1970). Efficient capital markets: A review of theory and empirical work. The Journal of Finance, 25(2), 383–417. [Google Scholar] [CrossRef]
- Fama, E. F. (1991). Efficient capital markets II. The Journal of Finance, 46(5), 1575–1617. [Google Scholar] [CrossRef]
- Fama, E. F., & French, K. R. (1993). Common risk factors in the returns on stocks and bonds. Journal of Financial Economics, 33(1), 3–56. [Google Scholar] [CrossRef]
- Fama, E. F., & French, K. R. (2015). A five-factor asset pricing model. Journal of Financial Economics, 116(1), 1–22. [Google Scholar] [CrossRef]
- Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861–874. [Google Scholar] [CrossRef]
- Fischer, T., & Krauss, C. (2018). Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research, 270(2), 654–669. [Google Scholar] [CrossRef]
- Hossain, S., & Kaur, G. (2024, May 3–4). Stock market prediction: XGBoost and LSTM comparative analysis [Conference paper]. 2024 3rd International Conference on Artificial Intelligence for Internet of Things (AIIoT) (pp. 1–6), Vellore, India. [Google Scholar] [CrossRef]
- Hu, Y., Liu, Y., & Pan, J. (2021). A survey on machine learning in stock price prediction. Finance Research Letters, 38, 101476. [Google Scholar] [CrossRef]
- Hu, Z., Zhao, Y., & Khushi, M. (2021). A survey of forex and stock price prediction using deep learning. Applied System Innovation, 4(1), 9. [Google Scholar] [CrossRef]
- Jiang, J., Richards, J., Huser, R., & Bolin, D. (2025). The efficient tail hypothesis: An extreme value perspective on market efficiency. Journal of Business & Economic Statistics, 1–14. [Google Scholar] [CrossRef]
- Kadam, J., Kasbe, J., Nalawade, N., Readdy, A., & Sonkusare, T. (2024). Stock market prediction using machine learning. International Journal of Advanced Research in Computer and Communication Engineering, 13(4), 349–352. [Google Scholar] [CrossRef]
- Kumbure, M. M., Lohrmann, C., Luukka, P., & Porras, J. (2022). Machine learning techniques and data for stock market forecasting: A literature review. Expert Systems with Applications, 197, 116659. [Google Scholar] [CrossRef]
- Lee, S. I., & Yoo, S. J. (2020). Threshold-based portfolio: The role of the threshold and its applications. The Journal of Supercomputing, 76, 8040–8057. [Google Scholar] [CrossRef]
- Li, C., Song, D., & Tao, D. (2019). Multi-task recurrent neural networks and higher-order Markov random fields for stock price movement prediction. In Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining (KDD ‘19), Anchorage, AK, USA, 4–8 August (pp. 1141–1151). Association for Computing Machinery. [Google Scholar] [CrossRef]
- Li, Q., Wen, Z., Wu, Z., Hu, S., Wang, N., Li, Y., Liu, X., & He, B. (2023). A survey on federated learning systems: Vision, hype and reality for data privacy and protection. IEEE Transactions on Knowledge and Data Engineering, 35(4), 3347–3366. [Google Scholar] [CrossRef]
- Li, X., Wu, P., & Wang, W. (2020). Incorporating stock prices and news sentiments for stock market prediction: A case of Hong Kong. Information Processing & Management, 57(5), 102212. [Google Scholar] [CrossRef]
- Li, Z., & Wu, Y. (2023). Stock pricing with textual investor sentiment: Evidence from Chinese stock markets. Review of Economics and Finance, 21, 1801–1815. [Google Scholar] [CrossRef]
- Lo, A. W. (2004). The adaptive markets hypothesis. The Journal of Portfolio Management, 30(5), 15–29. [Google Scholar] [CrossRef]
- Luo, Z., Wang, S. P., Ho, E. H., Yao, L., & Gershon, R. C. (2025). Predicting and evaluating cognitive status in aging populations using decision tree models. American Journal of Alzheimer’s Disease & Other Dementias, 40, 15333175251339730. [Google Scholar] [CrossRef]
- Mhlanga, D. (2021). Financial inclusion in emerging economies: The application of machine learning and artificial intelligence in credit risk assessment. International Journal of Financial Studies, 9(3), 39. [Google Scholar] [CrossRef]
- Neely, C. J., Rapach, D. E., Tu, J., & Zhou, G. (2014). Forecasting the equity risk premium: The role of technical indicators. Management Science, 60(7), 1772–1791. [Google Scholar] [CrossRef]
- Nevasalmi, L. (2020). Forecasting multinomial stock returns using machine learning methods. Journal of Financial Data Science, 6, 86–106. [Google Scholar] [CrossRef]
- Noh, Y., & Kim, S. (2025). Zero-shot learning for S&P 500 forecasting via constituent-level dynamics: Latent structure modeling without index supervision. Mathematics, 13, 2762. [Google Scholar] [CrossRef]
- Nti, I. K., Adekoya, A. F., & Weyori, B. A. (2020). Predicting stock market price movement using sentiment analysis: Evidence from Ghana. Applied Computer Systems, 25(1), 33–42. [Google Scholar] [CrossRef]
- Pagliaro, A. (2025). Artificial intelligence vs. efficient markets: A critical reassessment of predictive models in the big data era. Electronics, 14(9), 1721. [Google Scholar] [CrossRef]
- Patel, M. M., Tanwar, S., Gupta, R., & Kumar, N. (2020). A deep learning-based cryptocurrency price prediction scheme for financial institutions. Journal of Information Security and Applications, 55, 102583. [Google Scholar] [CrossRef]
- Penman, S. H. (1987). The distribution of earnings news over time and seasonalities in aggregate stock returns. Journal of Financial Economics, 18(2), 199–228. [Google Scholar] [CrossRef]
- Prachyachuwong, K., & Vateekul, P. (2021). Stock trend prediction using deep learning approach on technical indicator and industrial specific information. Information, 12(6), 250. [Google Scholar] [CrossRef]
- Qian, H., Zhou, H., Zhao, Q., Chen, H., Yao, H., Wang, J., Liu, Z., Yu, F., Zhang, Z., & Zhou, J. (2024). MDGNN: Multi-relational dynamic graph neural network for comprehensive and dynamic stock investment prediction. Proceedings of the AAAI Conference on Artificial Intelligence, 38, 14642–14650. [Google Scholar] [CrossRef]
- Razali, M. N., Arbaiy, N., Lin, P.-C., & Ismail, S. (2025). Optimizing multiclass classification using convolutional neural networks with class weights and early stopping for imbalanced datasets. Electronics, 14(4), 705. [Google Scholar] [CrossRef]
- Russell, S., & Norvig, P. (2010). Artificial intelligence: A modern approach (3rd ed.). Pearson. [Google Scholar]
- Saito, T., & Rehmsmeier, M. (2015). The precision–Recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS ONE, 10(3), e0118432. [Google Scholar] [CrossRef] [PubMed]
- Samarawickrama, A. J. P., & Fernando, T. G. I. (2017, December 15–16). A recurrent neural network approach in predicting daily stock prices: An application to the Sri Lankan stock market [Conference paper]. 2017 IEEE International Conference on Industrial and Information Systems (ICIIS) (pp. 1–6), Peradeniya, Sri Lanka. [Google Scholar] [CrossRef]
- Shahi, T. B., Shrestha, A., Neupane, A., & Guo, W. (2020). Stock price forecasting with deep learning: A comparative study. Mathematics, 8(9), 1441. [Google Scholar] [CrossRef]
- Sirignano, J., & Cont, R. (2019). Universal features of price formation in financial markets: Perspectives from deep learning. Quantitative Finance, 19(9), 1449–1459. [Google Scholar] [CrossRef]
- Sonkavde, G., Dharrao, D. S., Bongale, A. M., Deokate, S. T., Doreswamy, D., & Bhat, S. K. (2023). Forecasting stock market prices using machine learning and deep learning models: A systematic review, performance analysis and discussion of implications. International Journal of Financial Studies, 11(3), 94. [Google Scholar] [CrossRef]
- Spilak, B., & Härdle, W. K. (2022). Tail-risk protection: Machine learning meets modern econometrics. In C. F. Lee, & A. C. Lee (Eds.), Encyclopedia of Finance. Springer. [Google Scholar] [CrossRef]
- Širůček, M., & Šíma, K. (2016). Optimized indicators of technical analysis on the New York Stock Exchange. Acta Universitatis Agriculturae et Silviculturae Mendelianae Brunensis, 64(6), 2123–2131. [Google Scholar] [CrossRef]
- Terven, J., Cordova-Esparza, D. M., Romero-González, J. A., Ramírez-Pedraza, A., & Chávez-Urbiola, E. A. (2025). A comprehensive survey of loss functions and metrics in deep learning. Artificial Intelligence Review, 58, 195. [Google Scholar] [CrossRef]
- Wu, S., Irsoy, O., Lu, S., Dabravolski, V., Dredze, M., Gehrmann, S., Kambadur, P., Rosenberg, D., & Mann, G. (2023). BloombergGPT: A large language model for finance. arXiv, arXiv:2303.17564. [Google Scholar] [CrossRef]
- Xu, Y. (2004). Small levels of predictability and large economic gains. Journal of Empirical Finance, 11(2), 247–275. [Google Scholar] [CrossRef]
- Yadav, A., Jha, C. K., & Sharan, A. (2020). Optimizing LSTM for time series prediction in Indian stock market. Procedia Computer Science, 167, 2091–2100. [Google Scholar] [CrossRef]
- Yan, K., Yue, Z., Wu, C. C., He, Q., Zhou, J., Hao, Z., & Li, Y. (2026). Flexible target prediction for quantitative trading in the American stock market: A hybrid framework integrating ensemble models, fusion models and transfer learning. Entropy, 28(1), 84. [Google Scholar] [CrossRef] [PubMed]
- Yao, D., & Yan, K. (2024). Time series forecasting of stock market indices based on DLWR-LSTM model. Finance Research Letters, 68, 105821. [Google Scholar] [CrossRef]





| Upper Limit at 99.99% | Lower Limit at 99.99% | Average | Metric |
|---|---|---|---|
| 74.71% | 74.54% | 74.62% | Micro-Average AUC |
| 68.70% | 68.15% | 68.43% | Class 1-AUC |
| 54.98% | 54.62% | 54.80% | Class 2-AUC |
| 58.83% | 58.04% | 58.43% | Class 3-AUC |
| 55.19% | 54.82% | 55.01% | Class 4-AUC |
| Sub-Samples | Mean | Standard Deviation | Min | 25% | 50% | 75% | Max | |
|---|---|---|---|---|---|---|---|---|
| Weak form of efficiency | Countries sub-samples | 2.2% | 1.9% | 0.01% | 0.08% | 0.26% | 0.26% | 0.86% |
| Sectors sub-samples | 2.6% | 0.26% | 0.01% | 0.09% | 0.17% | 0.34% | 1.39% | |
| Semi-strong form of efficiency | Countries sub-samples | 1.6% | 0.15% | 0.01% | 0.09% | 0.13% | 0.18% | 0.69% |
| Sectors sub-samples | 2.3% | 0.23% | 0.01% | 0.07% | 0.16% | 0.28% | 1.09% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Ben Jbara, A.; Rabah Gana, M.; Dakhlaoui, M. Exploring Market Efficiency with GRU-D Neural Networks: Evidence from Global Stock Markets. Int. J. Financial Stud. 2026, 14, 46. https://doi.org/10.3390/ijfs14020046
Ben Jbara A, Rabah Gana M, Dakhlaoui M. Exploring Market Efficiency with GRU-D Neural Networks: Evidence from Global Stock Markets. International Journal of Financial Studies. 2026; 14(2):46. https://doi.org/10.3390/ijfs14020046
Chicago/Turabian StyleBen Jbara, Abdelhamid, Marjène Rabah Gana, and Mejda Dakhlaoui. 2026. "Exploring Market Efficiency with GRU-D Neural Networks: Evidence from Global Stock Markets" International Journal of Financial Studies 14, no. 2: 46. https://doi.org/10.3390/ijfs14020046
APA StyleBen Jbara, A., Rabah Gana, M., & Dakhlaoui, M. (2026). Exploring Market Efficiency with GRU-D Neural Networks: Evidence from Global Stock Markets. International Journal of Financial Studies, 14(2), 46. https://doi.org/10.3390/ijfs14020046

