Aug 2026· Jurnal Teknik Informatika (Jutif)· Vol 7, pp. 3130-3145· 0 citations
TL;DR
A Retrieval-Augmented Generation (RAG) framework based on the LLaMA model and FAISS is proposed to enhance the reliability of stock investment recommendations for LQ45-listed companies to improve the interpretability and robustness of AI-driven stock analysis.
Abstract
The analysis of Indonesian stock markets is inherently complex due to market volatility, heterogeneous financial indicators, and the need to integrate both technical and fundamental information. Traditional analytical approaches often struggle to provide transparent and consistent investment recommendations, while Large Language Models (LLMs) may suffer from hallucination when applied to structured financial prediction tasks. This study proposes a Retrieval-Augmented Generation (RAG) framework based on the LLaMA model and FAISS to enhance the reliability of stock investment recommendations for LQ45-listed companies. Historical OHLCV data and fundamental financial reports are collected from Yahoo Finance and preprocessed into a structured knowledge base using embedding representations. Relevant information is retrieved using a top-k similarity search mechanism and integrated into a structured prompt engineering scheme to generate BUY, HOLD, or SELL recommendations. Experimental results demonstrate that the proposed approach achieves an F1-score of 0.76 for classification performance, with regression-based error metrics of MAE 299.38 and MAPE 10.06%. In addition, text-based evaluation using ROUGE yields a high score of 0.9906, indicating strong alignment between generated explanations and reference analyses. The findings suggest that the RAG framework significantly reduces hallucination by grounding LLM outputs in retrieved financial data, thereby improving the interpretability and robustness of AI-driven stock analysis. This research contributes to the field of informatics by providing a practical and extensible RAG-based framework for structured financial prediction tasks.
Academic library acquisitions based on historical circulation systematically fail to anticipate demand in rapidly evolving domains. This study presents a semantic demand analysis framework that integrates large-language-model-derived text embeddings with borrowing-behavior data to reduce supply–demand misalignment, whe...
Stock market prediction systems often require financial knowledge and technically complex interfaces, which can create accessibility barriers for novice users and users from regional language backgrounds. This paper presents a multilingual voice-enabled stock forecasting system that integrates Long Short-Term Memory (L...
P. Devi, Sama Riddhima Reddy, Mudide Om Sri et al.· International journal of res...· 0 citations
The findings support Proxy Theory by indicating that review volume and valence can provide leading information before sufficient transaction data accumulate and inform replenishment and safety-stock decisions by reducing underforecasting during demand activation.
I. M. Siregar, I. Fauzi· Journal of Business, Social...· 0 citations
Financial volatility forecasting has undergone a rapid methodological transition from parametric econometric models towards machine and deep learning, hybrid architectures, and ensemble techniques. Despite this expansion, the literature lacks a synthesis combining bibliometric mapping with a granular methodological tax...
Rodrigo Baggi Prieto Alvarez, Jorge Miguel Ventura Bravo· Journal of Soft Computing an...· 0 citations
Predicting next-day stock movements from corporate announcements is a complex task, especially in markets where financial text is published in low-resource languages such as Arabic. In this study, we develop a hybrid, multimodal forecasting framework designed to capture both the semantic depth of Arabic announcements a...
Abdullah Almusned, Mohammad Mehedi Hassan, Muhammad Al-Qurishi et al.· International Journal of Adv...· 0 citations
The empirical analysis yields four main findings: a compact CNN provides the strongest model-level operational trade-off, requiring substantially less training and inference time than the LSTM or transformer while delivering similar classification reliability.
Younghwan Lee· Journal of Official Statisti...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.