Author
Listed:
- Tak Rahul
(Bucharest University of Economic Studies, Bucharest, Romania)
- Pele Daniel Traian
(Bucharest University of Economic Studies, Bucharest, Romania Institute for Economic Forecasting, Romanian Academy)
Abstract
Stock price forecasting remains a challenging task due to the dynamic nature of financial markets and the influence of external factors such as investor sentiment and macroeconomic events. Traditional time series statistical models often struggle to capture complex nonlinear dependencies and market signals embedded in unstructured data. With advancements in Large Language Models (LLMs), it is now possible to integrate textual information from financial news, social media, and earnings reports to enhance predictive accuracy. In this study, we leverage the LLaMA family of LLMs to improve stock price forecasting by combining historical price with news. We evaluate the performance of LLaMA 3.3 against LLaMA 3.1 and the benchmark ARIMA model to assess its effectiveness in capturing time series patterns and textual signals. Our results indicate that LLaMA 3.3 outperforms both LLaMA 3.1 and ARIMA, demonstrating its superior capability in modeling complex financial relationships. Additionally, our analysis confirms that market sentiment has an impact on stock returns, with sentiments influencing short-term price fluctuations. By incorporating news sentiment in LLMs prompt, we achieve improved forecasts compared to models without news. This highlights the importance of integrating both structured (numerical time series) and unstructured (news sentiment) data for enhanced financial modeling. Our findings suggest that LLM-driven forecasting methods hold substantial promise for traders, analysts, and financial institutions seeking more accurate market predictions. Future work will explore fine-tuning LLaMA models for domain-specific financial tasks and improving interpretability in decision making processes.
Suggested Citation
Tak Rahul & Pele Daniel Traian, 2025.
"LLM-Driven Stock Prediction: Capturing Market Trends with LLaMA,"
Proceedings of the International Conference on Business Excellence, Sciendo, vol. 19(1), pages 529-540.
Handle:
RePEc:vrs:poicbe:v:19:y:2025:i:1:p:529-540:n:1009
DOI: 10.2478/picbe-2025-0043
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:vrs:poicbe:v:19:y:2025:i:1:p:529-540:n:1009. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Peter Golla (email available below). General contact details of provider: https://www.sciendo.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.