doi: 10.7763/IJCTE.2024.V16.1353
Adaptive Model Selection in Stock Market Prediction: A Modular and Scalable Big Data Analytics Approach
- School of Computer Science, University of Windsor, Windsor, ON, Canada
- Manuscript receivedJanuary 10, 2024
- revisedFebruary 6, 2024
- acceptedApril 7, 2024
- publishedMay 10, 2024
Abstract
This paper introduces an innovative architecture integrating Apache Kafka and microservices to enhance real-time stock market prediction. Our approach dynamically selects the most effective predictive model based on current market conditions, ensuring consistent accuracy. The key research method involves deploying Apache Kafka for real-time data streaming, coupled with a microservices framework to maintain scalability and adaptability. Our methodology includes a thorough evaluation of various machine learning models (specifically focusing on R<span style="font-size:8px;"><sup>2</sup></span>, the coefficient of determination, as the metric) to ascertain their performance across different market scenarios. The results demonstrate the architecture’s ability to handle high data volume and velocity, while accurately adapting to market changes. The adaptability is evidenced by the varying performance of models like Convolutional Neural Network (CNN), Gate Recurrent Unit (GRU), and Long Short-Term Memory (LSTM) across different entities such as Royal Bank of Canada, Google, and EUR/USD, with the system successfully identifying the most suitable model in real-time. This architecture not only provides a scalable solution for stock market prediction but also sets the foundation for future exploration in other real-time data-intensive domains.
Keywords
- Apache Kafka
- microservices architecture
- real-time model switching
- financial market prediction
How to Cite
MohammadEhsan Akhavanpour and Saeed Samet, "Adaptive Model Selection in Stock Market Prediction: A Modular and Scalable Big Data Analytics Approach," International Journal of Computer Theory and Engineering, vol. 16, no. 2, pp. 44-54, 2024. https://doi.org/10.7763/IJCTE.2024.V16.1353
Copyright & License
Copyright © 2024 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).