没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Can ChatGPT Forecast Stock Price Movements?
Return Predictability and Large Language Models
∗
Alejandro Lopez-Lira and Yuehua Tang
University of Florida
First Version: April 6, 2023
This Version April 25, 2023
Abstract
We examine the potential of ChatGPT, and other large language models, in predict-
ing stock market returns using sentiment analysis of news headlines. We use ChatGPT
to indicate whether a given headline is good, bad, or irrelevant news for firms’ stock
prices. We then compute a numerical score and document a positive correlation be-
tween these “ChatGPT scores” and subsequent daily stock market returns. Further,
ChatGPT outperforms traditional sentiment analysis methods. We find that more basic
models such as GPT-1, GPT-2, and BERT cannot accurately forecast returns, indi-
cating return predictability is an emerging capacity of complex models. Our results
suggest that incorporating advanced language models into the investment decision-
making process can yield more accurate predictions and enhance the performance of
quantitative trading strategies.
∗
We are grateful for the comments and feedback from Andrew Chen, Carter Davis, Andy Naranjo, Nikolai
Roussanov, and ‘@jugglingnumbers.’ Emails: Alejandro Lopez-Lira (corresponding author): alejandro.lopez-
lira@warrington.ufl.edu, and Yuehua Tang: yuehua.tang@warrington.ufl.edu.
1
Electronic copy available at: https://ssrn.com/abstract=4412788
The application of large language models (LLMs) such as ChatGPT in various domains
has gained significant traction in recent months, with numerous studies exploring their po-
tential in diverse areas. In financial economics, however, using LLMs remains relatively
uncharted territory, especially concerning their ability to predict stock market returns. On
the one hand, as these models are not explicitly trained for this purpose, one may expect
that they offer little value in predicting stock market movements. On the other hand, to
the extent that these models are more capable of understanding natural language, one could
argue that they could be a valuable tool for processing textual information to predict stock
returns. Thus, the performance of LLMs in predicting financial market movements is an
open question.
To the best of our knowledge, this paper is among the first to address this critical question
by evaluating the capabilities of ChatGPT in forecasting stock market returns. Through a
novel approach that leverages the model’s sentiment analysis capabilities, we assess the
performance of ChatGPT using news headlines data and compare it to existing sentiment
analysis methods provided by leading vendors.
Our findings have important implications for the employment landscape in the financial
industry. The results could potentially lead to a shift in the methods used for market predic-
tion and investment decision-making. By demonstrating the value of ChatGPT in financial
economics, we aim to contribute to the understanding of LLMs’ applications in this field and
inspire further research on integrating artificial intelligence and natural language processing
in financial markets. In addition to the implications for employment in the financial industry,
our study offers several other significant contributions.
Firstly, our research can aid regulators and policymakers in understanding the potential
benefits and risks associated with the increasing adoption of LLMs in financial markets. As
these models become more prevalent, their influence on market behavior, information dissem-
ination, and price formation will become critical areas of concern. Our findings can inform
discussions on regulatory frameworks that govern the use of AI in finance and contribute to
2
Electronic copy available at: https://ssrn.com/abstract=4412788
the development of best practices for integrating LLMs into market operations.
Secondly, our study can benefit asset managers and institutional investors by providing
empirical evidence on the efficacy of LLMs in predicting stock market returns. This insight
can help these professionals make more informed decisions about incorporating LLMs into
their investment strategies, potentially leading to improved performance and reduced reliance
on traditional, more labor-intensive analysis methods.
Lastly, our research contributes to the broader academic discourse on artificial intelligence
applications in finance. By exploring the capabilities of ChatGPT in predicting stock market
returns, we advance the understanding of LLMs’ potential and limitations within the financial
economics domain. This can inspire future research on developing more sophisticated LLMs
tailored to the financial industry’s needs, paving the way for more efficient and accurate
financial decision-making.
1
Our study has far-reaching implications that extend beyond the immediate context of
stock market predictions. By shedding light on the potential contributions of ChatGPT to
financial economics, we hope to encourage continued exploration and innovation in AI-driven
finance.
Related Literature
Recent papers that use ChatGPT in the context of economics include Hansen and Kazinnik
(2023), Cowen and Tabarrok (2023), Korinek (2023), and Noy and Zhang (2023). Hansen and
Kazinnik (2023) show that LLMs like ChatGPT can decode Fedspeak (i.e., the language used
by the Fed to communicate on monetary policy decisions). Cowen and Tabarrok (2023) and
Korinek (2023) demonstrate that ChatGPT is helpful in teaching economics and conducting
economic research. Noy and Zhang (2023) find that ChatGPT can enhance productivity in
professional writing jobs. Contemporaneously, Xie et al. (2023) find ChatGPT is no better
than simple methods such as linear regression when using numerical data in prediction tasks.
1. See for example Wu et al. (2023).
3
Electronic copy available at: https://ssrn.com/abstract=4412788
We attribute the difference in results to their focus on using historical numerical data to
predict, while ChatGPT excels at textual tasks. Ko and Lee (2023) finds ChatGPT may be
useful in selecting across asset classes. Furthermore, Yang and Menczer (2023) demonstrates
that ChatGPT successfully identifies credible news outlets. Our study is among the first
to study the potential of LLMs in financial markets, particularly the investment decision-
making process.
We contribute to the recent strand of the literature that employs text analysis and ma-
chine learning to study a variety of finance research questions (e.g., Jegadeesh and Wu
(2013), Campbell et al. (2014), Hoberg and Phillips (2016), Gaulin (2017), Baker, Bloom,
and Davis (2016), Manela and Moreira (2017), Hansen, McMahon, and Prat (2018), Ke,
Kelly, and Xiu (2019), Ke, Montiel Olea, and Nesbit (2019), Bybee et al. (2019), Gu, Kelly,
and Xiu (2020), Cohen, Malloy, and Nguyen (2020), Freyberger, Neuhierl, and Weber (2020),
Lopez-Lira 2019, Binsbergen et al. (2020), Bybee et al. (2021)). Our paper makes a unique
contribution to this literature as being the first to evaluate the text processing capabilities
of recently developed LLMs such as ChatGPT in forecasting stock market movements.
Our paper also adds the literature that uses linguistic analyses of news articles to extract
sentiment and predict stock returns. One strand of this literature studies media sentiment
and aggregate stock returns (e.g., Tetlock (2007), Garcia (2013), Calomiris and Mamaysky
(2019)). Another strand of the literature uses the sentiment of firm news to predict future
individual stock returns (e.g., Tetlock, Saar-Tsechansky, and Macskassy (2008), Tetlock
(2011), Jiang, Li, and Wang (2021)). Different from prior studies, we focus on understanding
whether LLMs add value by extracting additional information that predicts stock market
reactions.
Finally, our paper also relates to the literature on employment exposures and vulnerability
to AI-related technology. Recent works by Agrawal, Gans, and Goldfarb (2019), Webb
(2019), Acemoglu et al. (2022), Acemoglu and Restrepo (2022), Babina et al. (2022), Noy
and Zhang (2023) have examined the extent of job exposure and vulnerability to AI-related
4
Electronic copy available at: https://ssrn.com/abstract=4412788
剩余23页未读,继续阅读
资源评论
Java老徐
- 粉丝: 1542
- 资源: 2045
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功