IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2508.13429.html
   My bibliography  Save this paper

AlphaX: An AI-Based Value Investing Strategy for the Brazilian Stock Market

Author

Listed:
  • Paulo Andr'e Lima de Castro

Abstract

Autonomous trading strategies have been a subject of research within the field of artificial intelligence (AI) for aconsiderable period. Various AI techniques have been explored to develop autonomous agents capable of trading financial assets. These approaches encompass traditional methods such as neural networks, fuzzy logic, and reinforcement learning, as well as more recent advancements, including deep neural networks and deep reinforcement learning. Many developers report success in creating strategies that exhibit strong performance during simulations using historical price data, a process commonly referred to as backtesting. However, when these strategies are deployed in real markets, their performance often deteriorates, particularly in terms of risk-adjusted returns. In this study, we propose an AI-based strategy inspired by a classical investment paradigm: Value Investing. Financial AI models are highly susceptible to lookahead bias and other forms of bias that can significantly inflate performance in backtesting compared to live trading conditions. To address this issue, we conducted a series of computational simulations while controlling for these biases, thereby reducing the risk of overfitting. Our results indicate that the proposed approach outperforms major Brazilian market benchmarks. Moreover, the strategy, named AlphaX, demonstrated superior performance relative to widely used technical indicators such as the Relative Strength Index (RSI) and Money Flow Index (MFI), with statistically significant results. Finally, we discuss several open challenges and highlight emerging technologies in qualitative analysis that may contribute to the development of a comprehensive AI-based Value Investing framework in the future

Suggested Citation

  • Paulo Andr'e Lima de Castro, 2025. "AlphaX: An AI-Based Value Investing Strategy for the Brazilian Stock Market," Papers 2508.13429, arXiv.org.
  • Handle: RePEc:arx:papers:2508.13429
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2508.13429
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Chang, Eric C. & Cheng, Joseph W. & Khorana, Ajay, 2000. "An examination of herd behavior in equity markets: An international perspective," Journal of Banking & Finance, Elsevier, vol. 24(10), pages 1651-1679, October.
    2. Daniel Kahneman & Amos Tversky, 2013. "Prospect Theory: An Analysis of Decision Under Risk," World Scientific Book Chapters, in: Leonard C MacLean & William T Ziemba (ed.), HANDBOOK OF THE FUNDAMENTALS OF FINANCIAL DECISION MAKING Part I, chapter 6, pages 99-127, World Scientific Publishing Co. Pte. Ltd..
    3. Thanos Konstantinidis & Giorgos Iacovides & Mingxue Xu & Tony G. Constantinides & Danilo Mandic, 2024. "FinLlama: Financial Sentiment Classification for Algorithmic Trading Applications," Papers 2403.12285, arXiv.org.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Wang, Peiwen & Chen, Minghua & Wu, Ji & Yan, Yuanyun, 2023. "Do peer effects matter in bank risk? Some cross-country evidence," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 88(C).
    2. Huang, Teng-Ching & Lin, Bing-Huei & Yang, Tung-Hsiao, 2015. "Herd behavior and idiosyncratic volatility," Journal of Business Research, Elsevier, vol. 68(4), pages 763-770.
    3. Imran Yousaf & Shoaib Ali & Syed Zulfiqar Ali Shah, 2018. "Herding behavior in Ramadan and financial crises: the case of the Pakistani stock market," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 4(1), pages 1-14, December.
    4. Coskun, Esra Alp & Lau, Chi Keung Marco & Kahyaoglu, Hakan, 2020. "Uncertainty and herding behavior: evidence from cryptocurrencies," Research in International Business and Finance, Elsevier, vol. 54(C).
    5. Ferreruela, Sandra & Mallor, Tania, 2021. "Herding in the bad times: The 2008 and COVID-19 crises," The North American Journal of Economics and Finance, Elsevier, vol. 58(C).
    6. Lee, Kyuseok, 2017. "Herd behavior of the overall market: Evidence based on the cross-sectional comovement of returns," The North American Journal of Economics and Finance, Elsevier, vol. 42(C), pages 266-284.
    7. Imed Medhioub & Mustapha Chaffai, 2019. "Islamic Finance and Herding Behavior Theory: A Sectoral Analysis for Gulf Islamic Stock Market," IJFS, MDPI, vol. 7(4), pages 1-11, November.
    8. Ko, Hyungjin & Son, Bumho & Lee, Jaewook, 2024. "Portfolio insurance strategy in the cryptocurrency market," Research in International Business and Finance, Elsevier, vol. 67(PA).
    9. Charilaos Mertzanis & Noha Allam, 2018. "Political Instability and Herding Behaviour: Evidence from Egypt’s Stock Market," Journal of Emerging Market Finance, Institute for Financial Management and Research, vol. 17(1), pages 29-59, April.
    10. Moatemri Ouarda & Abdelfatteh El Bouri & Olivero Bernard, 2013. "Herding Behavior under Markets Condition: Empirical Evidence on the European Financial Markets," International Journal of Economics and Financial Issues, Econjournals, vol. 3(1), pages 214-228.
    11. Camara, Omar, 2017. "Industry herd behaviour in financing decision making," Journal of Economics and Business, Elsevier, vol. 94(C), pages 32-42.
    12. Demirer, Rıza & Kutan, Ali M. & Zhang, Huacheng, 2014. "Do ADR investors herd?: Evidence from advanced and emerging markets," International Review of Economics & Finance, Elsevier, vol. 30(C), pages 138-148.
    13. Steven Haryanto & Athor Subroto & Maria Ulpah, 2020. "Disposition effect and herding behavior in the cryptocurrency market," Economia e Politica Industriale: Journal of Industrial and Business Economics, Springer;Associazione Amici di Economia e Politica Industriale, vol. 47(1), pages 115-132, March.
    14. Ah Mand, Abdollah & Sifat, Imtiaz, 2021. "Static and regime-dependent herding behavior: An emerging market case study," Journal of Behavioral and Experimental Finance, Elsevier, vol. 29(C).
    15. Ashish Kumar Garg & Subrata Kumar Mitra & Dilip Kumar, 2016. "Do foreign institutional investors herd in emerging markets? A study of individual stocks," DECISION: Official Journal of the Indian Institute of Management Calcutta, Springer;Indian Institute of Management Calcutta, vol. 43(3), pages 281-300, September.
    16. Ritika & Nawal Kishor, 2020. "Development and validation of behavioral biases scale: a SEM approach," Review of Behavioral Finance, Emerald Group Publishing Limited, vol. 14(2), pages 237-259, November.
    17. Gong, Pu & Wen, Zhuzhu & Xiong, Xiong & Gong, Cynthia M., 2021. "When do investors gamble in the stock market?," International Review of Financial Analysis, Elsevier, vol. 74(C).
    18. Simões Vieira, Elisabete F. & Valente Pereira, Márcia S., 2015. "Herding behaviour and sentiment: Evidence in a small European market," Revista de Contabilidad - Spanish Accounting Review, Elsevier, vol. 18(1), pages 78-86.
    19. Ali Shaddady & Mohammed Alsaggaf, 2020. "Issues that Matter When Behavioral Finance Factors Drive the Largest Initial Public Offering in the Saudi Financial Market," International Journal of Economics and Financial Issues, Econjournals, vol. 10(6), pages 106-117.
    20. Demirer, Riza & Kutan, Ali M. & Chen, Chun-Da, 2010. "Do investors herd in emerging stock markets?: Evidence from the Taiwanese market," Journal of Economic Behavior & Organization, Elsevier, vol. 76(2), pages 283-295, November.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:arx:papers:2508.13429. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.