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

Can Large Language Models Beat Wall Street? Unveiling the Potential of AI in Stock Selection

Author

Listed:
  • Georgios Fatouros
  • Konstantinos Metaxas
  • John Soldatos
  • Dimosthenis Kyriazis

Abstract

This paper introduces MarketSenseAI, an innovative framework leveraging GPT-4's advanced reasoning for selecting stocks in financial markets. By integrating Chain of Thought and In-Context Learning, MarketSenseAI analyzes diverse data sources, including market trends, news, fundamentals, and macroeconomic factors, to emulate expert investment decision-making. The development, implementation, and validation of the framework are elaborately discussed, underscoring its capability to generate actionable and interpretable investment signals. A notable feature of this work is employing GPT-4 both as a predictive mechanism and signal evaluator, revealing the significant impact of the AI-generated explanations on signal accuracy, reliability and acceptance. Through empirical testing on the competitive S&P 100 stocks over a 15-month period, MarketSenseAI demonstrated exceptional performance, delivering excess alpha of 10% to 30% and achieving a cumulative return of up to 72% over the period, while maintaining a risk profile comparable to the broader market. Our findings highlight the transformative potential of Large Language Models in financial decision-making, marking a significant leap in integrating generative AI into financial analytics and investment strategies.

Suggested Citation

  • Georgios Fatouros & Konstantinos Metaxas & John Soldatos & Dimosthenis Kyriazis, 2024. "Can Large Language Models Beat Wall Street? Unveiling the Potential of AI in Stock Selection," Papers 2401.03737, arXiv.org, revised Apr 2024.
  • Handle: RePEc:arx:papers:2401.03737
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Adam Zaremba & Ender Demir, 2023. "ChatGPT: Unlocking the future of NLP in finance," Modern Finance, Modern Finance Institute, vol. 1(1), pages 93-98.
    2. Paul C. Tetlock & Maytal Saar‐Tsechansky & Sofus Macskassy, 2008. "More Than Words: Quantifying Language to Measure Firms' Fundamentals," Journal of Finance, American Finance Association, vol. 63(3), pages 1437-1467, June.
    3. Jean-Philippe Bouchaud & Yuval Gefen & Marc Potters & Matthieu Wyart, 2003. "Fluctuations and response in financial markets: the subtle nature of `random' price changes," Papers cond-mat/0307332, arXiv.org, revised Aug 2003.
    4. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    5. Alejandro Lopez-Lira & Yuehua Tang, 2023. "Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models," Papers 2304.07619, arXiv.org, revised Sep 2023.
    6. repec:pri:cepsud:91malkiel is not listed on IDEAS
    7. Abdullah Alqahtani & Michael J. Wither & Zhankui Dong & Kimberly R. Goodwin, 2020. "Impact of news-based equity market volatility on international stock markets," Journal of Applied Economics, Taylor & Francis Journals, vol. 23(1), pages 224-234, January.
    8. Farooq Malik, 2011. "Estimating the impact of good news on stock market volatility," Applied Financial Economics, Taylor & Francis Journals, vol. 21(8), pages 545-554.
    9. Jonathan Lewellen, 2002. "Momentum and Autocorrelation in Stock Returns," The Review of Financial Studies, Society for Financial Studies, vol. 15(2), pages 533-564, March.
    10. Anand, Abhinav & Pathak, Jalaj, 2022. "The role of Reddit in the GameStop short squeeze," Economics Letters, Elsevier, vol. 211(C).
    11. Ethan Callanan & Amarachi Mbakwe & Antony Papadimitriou & Yulong Pei & Mathieu Sibue & Xiaodan Zhu & Zhiqiang Ma & Xiaomo Liu & Sameena Shah, 2023. "Can GPT models be Financial Analysts? An Evaluation of ChatGPT and GPT-4 on mock CFA Exams," Papers 2310.08678, arXiv.org.
    12. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 59-82, Winter.
    13. Leonardo Weiss-Cohen & Peter Ayton & Iain Clacher & Volker Thoma, 2019. "Behavioral biases in pension fund trustees’ decision making," Review of Behavioral Finance, Emerald Group Publishing Limited, vol. 11(2), pages 128-143, June.
    14. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    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. repec:dau:papers:123456789/3323 is not listed on IDEAS
    2. Shynkevich, Andrei, 2012. "Performance of technical analysis in growth and small cap segments of the US equity market," Journal of Banking & Finance, Elsevier, vol. 36(1), pages 193-208.
    3. Michele Vodret & Iacopo Mastromatteo & Bence Tóth & Michael Benzaquen, 2020. "A Stationary Kyle Setup: Microfounding propagator models," Working Papers hal-03016486, HAL.
    4. Ali Fayyaz Munir & Shahrin Saaid Shaharuddin & Mohd Edil Abd. Sukor, 2020. "Long-Term, Short-Term and Time-Varying Profitability of Reversals: The Role of Market State and Volatility," International Journal of Economics & Business Administration (IJEBA), International Journal of Economics & Business Administration (IJEBA), vol. 0(2), pages 501-520.
    5. Michele Vodret & Iacopo Mastromatteo & Bence T'oth & Michael Benzaquen, 2020. "A Stationary Kyle Setup: Microfounding propagator models," Papers 2011.10242, arXiv.org, revised Feb 2021.
    6. Michele Vodret & Iacopo Mastromatteo & Bence Tóth & Michael Benzaquen, 2021. "A Stationary Kyle Setup: Microfounding propagator models," Post-Print hal-03016486, HAL.
    7. David M. Ritzwoller & Joseph P. Romano, 2019. "Uncertainty in the Hot Hand Fallacy: Detecting Streaky Alternatives to Random Bernoulli Sequences," Papers 1908.01406, arXiv.org, revised Apr 2021.
    8. Chia-Lin Chang & Jukka Ilomäki & Hannu Laurila & Michael McAleer, 2018. "Long Run Returns Predictability and Volatility with Moving Averages," Risks, MDPI, vol. 6(4), pages 1-18, September.
    9. Bell, Peter N, 2013. "New Testing Procedures to Assess Market Efficiency with Trading Rules," MPRA Paper 46701, University Library of Munich, Germany.
    10. Jitka Veselá & Alžběta Zíková, 2022. "Are the Czech, Polish, German and Dutch markets taking a random walk? [Konají český, polský, německý a nizozemský trh náhodnou procházku?]," Český finanční a účetní časopis, Prague University of Economics and Business, vol. 2022(2), pages 19-38.
    11. Muchnik, Lev & Bunde, Armin & Havlin, Shlomo, 2009. "Long term memory in extreme returns of financial time series," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 388(19), pages 4145-4150.
    12. Nathan Jensen, 2007. "International institutions and market expectations: Stock price responses to the WTO ruling on the 2002 U.S. steel tariffs," The Review of International Organizations, Springer, vol. 2(3), pages 261-280, September.
    13. Ishani Chaudhuri & Parthajit Kayal, 2022. "Predicting Power of Ticker Search Volume in Indian Stock Market," Working Papers 2022-214, Madras School of Economics,Chennai,India.
    14. Ghada A. Altarawneh & Ahmad B. Hassanat & Ahmad S. Tarawneh & Ahmad Abadleh & Malek Alrashidi & Mansoor Alghamdi, 2022. "Stock Price Forecasting for Jordan Insurance Companies Amid the COVID-19 Pandemic Utilizing Off-the-Shelf Technical Analysis Methods," Economies, MDPI, vol. 10(2), pages 1-18, February.
    15. John Sabelhaus, 2005. "Alternative Methods for Projecting Equity Returns: Implications for Evaluating Social Security Reform Proposals," Risk Management and Insurance Review, American Risk and Insurance Association, vol. 8(1), pages 43-63, March.
    16. Cristi Spulbar & Ramona Birau & Lucian Florin Spulbar, 2021. "A Critical Survey on Efficient Market Hypothesis (EMH), Adaptive Market Hypothesis (AMH) and Fractal Markets Hypothesis (FMH) Considering Their Implication on Stock Markets Behavior," Ovidius University Annals, Economic Sciences Series, Ovidius University of Constantza, Faculty of Economic Sciences, vol. 0(2), pages 1161-1165, December.
    17. Stephen Bell & John Quiggin, 2006. "Asset Price Instability and Policy Responses: The Legacy of Liberalization," Journal of Economic Issues, Taylor & Francis Journals, vol. 40(3), pages 629-649, September.
    18. Paolo Cremonesi & Chiara Francalanci & Alessandro Poli & Roberto Pagano & Luca Mazzoni & Alberto Maggioni & Mehdi Elahi, 2018. "Social Network based Short-Term Stock Trading System," Papers 1801.05295, arXiv.org.
    19. Park, Cheol-Ho & Irwin, Scott H., 2004. "The Profitability Of Technical Trading Rules In Us Futures Markets: A Data Snooping Free Test," 2004 Conference, April 19-20, 2004, St. Louis, Missouri 19011, NCR-134 Conference on Applied Commodity Price Analysis, Forecasting, and Market Risk Management.
    20. Taufiq Choudhry & Ranadeva Jayasekera, 2015. "Level of efficiency in the UK equity market: empirical study of the effects of the global financial crisis," Review of Quantitative Finance and Accounting, Springer, vol. 44(2), pages 213-242, February.
    21. Mahata, Ajit & Rai, Anish & Nurujjaman, Md. & Prakash, Om, 2021. "Modeling and analysis of the effect of COVID-19 on the stock price: V and L-shape recovery," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 574(C).

    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:2401.03737. 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.