1. INTRODUCTION
1.1 Some Difficulties with Traditional Models
Traditional approaches to forecasting stock price movements mostly use low-frequency data and consequently fail to capture current global stock market dynamics. These models do not incorporate the features of high-frequency market data, where changes are abrupt and volatility occurs at higher rates. As a result, their predictions are often unstable and their usefulness is restricted for near real-time decision-making. These shortcomings have created a gap that needs to be filled by methodologies capable of handling higher frequencies and providing more detailed market trends [1].
Stock price prediction has been widely explored because financial markets are volatile and provide a challenging environment for both practice and research. Due to innovations in machine learning and data analysis, this field has changed substantially. Advanced artificial intelligence is instrumental in addressing the inherent problems of predicting stock prices and understanding market behavior. This section introduces these developments and their consequences for financial forecasting.
1.2 Advancements in High-Frequency Data
Among the pioneering changes in this area is the use of highfrequency data for stock price forecasting. Higher frequency observations enable more efficient examination of changing market conditions and asset-price behavior. In preprocessing, histogram data has become popular for improving the quality of financial predictions. Histogram-based preprocessing converts raw high-frequency data into organized forms, supporting improved estimation of asset returns and better evaluation of market behavior [2].
1.3 Hybrid Models for Enhanced Prediction
The complexity and volatility of financial markets have also led to the creation of mixed forecasting models. These models combine predictive techniques to exploit the relative advantages of different approaches. For example, hybrid systems may combine machine learning techniques with statistical analysis, or integrate multiple machine learning procedures to build ensemble strategies. Such combinations have shown better forecasting results than typical approaches when analyzing complex markets and dealing with data variability [3].
1.4 Why the Stock Market is Important
The stock market has dual importance as an economic indicator and as a source of investment opportunities. Its impact extends from individual investors to global financial institutions, frameworks, and economic paradigms. Therefore, stock price prediction remains essential for decision-making, risk management, strategic business planning, and investment. Understanding how machine learning supports stock market forecasting and enables proactive action is central to broader adoption of the technology [4, 5].
From challenges to innovation and hybrid methodologies, this study highlights the evolving role of machine learning in financial markets. By bridging traditional weaknesses and taking advantage of high-frequency data and various modeling approaches, researchers and practitioners are laying the foundation for better forecasts of stock price movements.
2. LITERATURE REVIEW
The intense advances in data analytics and machine learning have significantly affected financial markets, especially assetprice forecasting. Traditional models that operate on lowfrequency data can hardly capture severe fluctuations and fine details of high-frequency market changes. Recent research has therefore focused on histogram data as a preprocessing tool, adding a different perspective to asset-return estimation and market-behavior analysis. The growing interest in highfrequency data has also driven development of hybrid models, in which two or more forecasting techniques are combined to enhance forecasting quality.
Stock trend forecasting often requires extensive data analysis and robust predictive techniques. Talazadeh and Perakovic [6] show that integrating sentiment analysis using the FinGPT generative AI model with Random Forest enhances stock price prediction. Their Sentiment-Augmented Random Forest (SARF) approach incorporates sentiment features into the Random Forest framework, achieving an average accuracy improvement of 9.23% over conventional Random Forest and
LSTM models while reducing prediction errors.
The stock market reflects economic conditions, offers investment opportunities, and shapes global financial trends. Gil et al. [7] address the challenges of predicting nonlinear and stochastic market trends through advanced deep-learning models applied to daily and hourly closing prices from the S&P 500 index and the Brazilian ETF EWZ. The study evaluates Temporal Convolutional Networks, N-BEATS, Temporal Fusion Transformers, N-HiTS, TiDE, and xLSTMTS. Wavelet denoising is used to smooth fluctuations, and xLSTM-TS achieves strong performance, including 72.82% test accuracy and 73.16% F1-score on the EWZ daily dataset.
Ge [8] investigates predictive models designed to improve forecasting accuracy and address market volatility. The MEME-AO-LSTM model employs time-series decomposition and hyperparameter optimization, achieving an RMSE of 27.12, MAE of 19.43, and correlation value of 0.992. The model is evaluated across major markets such as NASDAQ 100, Nikkei 225, and FTSE, and demonstrates robustness under market shocks including the COVID-19 period and geopolitical tensions.
Attention mechanisms are effective for capturing patterns in sequential data and outperforming several traditional models. Kelvin et al. [9] incorporate attention into an enhanced stock prediction model that standardizes and decomposes stock data into high- and low-frequency components. The attention mechanism is applied to high-frequency signals, reducing RMSE from 0.5824 to 0.5709 and improving predictive accuracy.
Stock price prediction also benefits from social-media sentiment. Mcdonald [10] predicts future closing prices of the top five NASDAQ100 stocks by integrating Twitter sentiment data with machine learning models. ARIMA, RNN, LSTM, GRU, and Transformer models are evaluated, and the Transformer model, leveraging attention mechanisms, outperforms recurrent models in predictive accuracy and computational efficiency.
Sustainable investing requires integrating multiple sources of information. Yu et al. [11] develop a deep-learning model that combines stock data and textual information using LSTM and GloVe embeddings. Their results show that semantic information can improve forecasting, particularly where nonlinear relationships are present in financial data.
Social-media discussions can also affect bank stocks. Fellah and Koualed [12] examine Twitter and YouTube conversations and show that negative sentiment correlates with market declines during critical financial events. This line of work emphasizes the need to manage volatile sentiment information when deploying machine learning in finance.
Generative and time-series pretraining methods are increasingly relevant. Cao et al. [13] introduce TEMPO, a promptbased generative pre-trained Transformer for time-series forecasting, demonstrating the importance of time-domain and frequency-domain consistency. Lin [14] uses wrapper feature selection and Gradient Boosting Machines for key financial indicator analysis, supporting buy, sell, and hold decisions through a confidence-voting strategy.
Beyond equity prices, related work extends machine learning to crude-oil and index prediction. Xu et al. [17] combine multivariate selection, machine learning, and nonlinear strategies for crude-oil price forecasting, while Garikapati and Yeddula [18] compare SVM and LSTM for NIFTY 50 prediction, finding that LSTM better captures trends and patterns. Qiu [1] provides a broader analysis of market trends and practical applications of machine learning in stock prediction.
High-frequency financial econometrics remains central to this field. Degiannakis and Floros [23] discuss modeling and forecasting of high-frequency financial data, while Ozupek et al. [24] present a hybrid EMD-TI-LSTM model for financial forecasting. Buchetti et al. [25] and Arksey and O’Malley [26] further emphasize emerging research trends and systematic mapping methods relevant to reviewing financial machine learning literature.
A summary of selected and reviewed papers on machine learning in stock price prediction is presented in Table 1. The table highlights hybrid approaches, sentiment analysis, and sophisticated frameworks such as Transformers and attention mechanisms. It also outlines common challenges such as data quality, market fluctuation, model complexity, and sentiment variability.
3. DISCUSSION
Machine learning has transformed stock price prediction by enabling models to process large, complex, and nonlinear datasets. The reviewed studies show that models based on high-frequency data, hybrid architectures, attention mechanisms, and sentiment analysis can improve forecasting accuracy compared with conventional approaches. However, these improvements must be assessed together with challenges related to data quality, interpretability, robustness, and computational cost.
3.1 Strengths of Machine Learning in Stock Price Prediction
Machine learning models are well suited to detecting hidden relationships in financial data. They can combine historical prices, technical indicators, social-media sentiment, news, and macroeconomic variables. Hybrid and ensemble approaches further increase predictive power because they combine complementary model strengths. Deep-learning architectures, especially LSTM, GRU, attention-based networks, and Transformers, capture temporal dependence and nonlinear market behavior more effectively than many traditional statistical methods.
High-frequency data offers another advantage by improving the granularity of market analysis. When raw high-frequency observations are transformed into structured representations such as histograms, models can better capture intraday volatility, correlations, and market responses to events. Sentiment analysis adds a behavioral dimension by incorporating investor opinion and public reaction into forecasting models.
3.2 Challenges and Limitations
Despite strong results, several limitations remain. Financial markets are noisy, nonstationary, and influenced by unpredictable events, including economic policy changes, geopolitical tensions, investor psychology, and global crises. Models trained on historical data may fail when market regimes change. Data quality is also critical: missing values, class imbalance, biased sentiment sources, and noisy social-media text can reduce forecasting reliability.
Interpretability is another persistent challenge. Many deeplearning models operate as black boxes, making it difficult for investors, regulators, and analysts to understand why a prediction was made. Computational complexity can also limit real-time deployment, particularly when models use high-frequency data or complex ensemble structures.
3.3 Real-Life Deployment and Consequences
Real-life deployment requires more than high predictive accuracy. Financial institutions must consider risk management, latency, transaction costs, regulatory compliance, and model governance. A model that performs well in back-testing may not achieve the same results after deployment if data pipelines, market liquidity, or decision rules are not carefully designed. Therefore, practical systems should include continuous monitoring, model updating, and risk controls.
3.4 Future Research Directions
Future studies should develop models that are more robust to market shocks and regime changes. Promising directions include adaptive learning, explainable artificial intelligence, hybrid models that integrate behavioral finance and macroeconomics, and transparent evaluation protocols. Combining financial variables with textual and sentiment sources may provide a richer qualitative assessment of market trends. Models capable of continuous learning may also improve forecasting stability over time.
3.5 Other Effects that Affect the Financial Industry
Using machine learning to forecast stock prices is one example of the broader digitalization and automation of financial markets. As these technologies continue to evolve, they are expected to reshape investment management, policies, and market operations. Although challenges remain, the potential advantages—from higher accuracy to improved risk assessment—point to the significant role machine learning can play in modern finance [25, 26].
This discussion highlights the dual nature of machine learning in finance: it is powerful and effective, but only when the associated problems and controversies are carefully managed. Continued research and methodological development can help machine learning reveal new insights about stock price prediction that were previously difficult to observe.
4. CONCLUSION
Combining high-frequency data and sophisticated machine learning approaches has improved stock price prediction and provided researchers and practitioners with robust tools for studying intricate and dynamic market phenomena. Data frequency has become crucial for refining the analysis of market fluctuations because granular high-frequency data can reveal short-term movements that are hidden in low-frequency observations. Hybrid and ensemble techniques have also handled the nonlinear and stochastic nature of financial markets more effectively, producing forecasts that are more practical and accurate.
TCN, N-BEATS, TFT, N-HiTS, xLSTM-TS
MEME-AO-LSTM RMSE of 27.12 and MAE of 19.43; effective during COVID-19 and geopolitical shocks
Bidirectional LSTM, XCEEMDAN, spline
Sentiment causality verification [11] Sustainable stock prediction
ARIMA, RNN, LSTM, GRU, Transformer
LSTM with GloVe embeddings
Nonlinear data patterns [12] Bank stock losses and social media
Sentiment analysis Negative sentiments correlated with market declines during critical events
Volatile sentiment integration [13] Time-frequency consistency
Time-domain and frequencydomain analysis
Traditional model limitations [14] Key financial indicators Wrapper feature selection; Gradient Boosting Machines
Data incompleteness; chaotic data nature [17] Crude-oil price forecasting Hybrid ML models with histogram data
Dependence on historical data and external factors [18] NIFTY 50 stock prediction SVM and LSTM LSTM outperformed SVM with lower error metrics for trend capture
Data preprocessing; external factor integration [2] High-frequency data modeling
Histogram-based preprocessing
Nevertheless, market risk and dynamics remain critical issues for future research. Financial developments are characterized by uncertainty and are affected by economic and political conditions, investor opinion, and policy changes. Machinelearning models must therefore adapt to market changes and shocks, including COVID-19-sensitive market disturbances. Additional challenges concern data quality, interpretability, and computational efficiency, especially when models are applied to large datasets and real-time decision-making.
Future investigations should address these difficulties by combining machine learning with fields such as behavioral finance and macroeconomics. Integrating financial variables with qualitative information can provide a richer assessment of market trends, while continuous-learning models can improve forecasting stability. Transparency should also be increased so stakeholders can make appropriate decisions when using predicted data.
In conclusion, stock price prediction using machine learning is a rapidly developing area of study. If current limitations are overcome and interdisciplinary approaches are followed, these technologies can reveal hidden potential within financial markets. Integrating high-frequency data, efficient algorithms, and new techniques is poised to transform conventional stock-price forecasting and create opportunities for financiers, regulators, and policymakers to understand the contemporary financial environment.