arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.06698q-fin.ST
收藏

FNSPID:一个时间序列综合金融新闻数据集

FNSPID: A Comprehensive Financial News Dataset in Time Series

Zihan Dong, Xinyu Fan, Zhiyuan Peng

AI总结:

该论文提出FNSPID,一个包含1999至2023年标普500公司股票价格与新闻的大规模数据集,通过实验证明其规模和质量能显著提升市场预测准确性,并提供了可复现的更新流程。

摘要:

金融市场预测利用历史数据来预判未来股票价格和市场趋势。传统上,这些预测侧重于对定量因素的统计分析,如股票价格、交易量、通货膨胀率和工业生产变化。近期大语言模型的进展推动了将情感数据(尤其是市场新闻)与数值因素相结合的综合性金融分析。然而,这种方法常常因缺乏同时包含定量和定性情感分析的大规模数据集而受到限制。为解决这一挑战,我们引入了一个大规模金融数据集,即金融新闻与股票价格整合数据集(FNSPID)。该数据集包含4,775家标普500公司自1999年至2023年间的2,970万条股票价格和1,570万条时间对齐的金融新闻记录,数据来源于4个股票市场新闻网站。我们证明FNSPID在规模和多样性上优于现有股票市场数据集,并独特地整合了情感信息。通过在FNSPID上进行的金融分析实验,我们提出:(1)数据集的大小和质量显著提升了市场预测准确性;(2)在基于Transformer的模型上,加入情感评分适度提升了性能;(3)一个可复现的数据集更新流程。完整的工作、代码、文档和示例可在github.com/Zdong104/FNSPID获取。FNSPID为金融研究社区推进预测建模和分析提供了前所未有的机会。

英文摘要:

Financial market predictions utilize historical data to anticipate future stock prices and market trends. Traditionally, these predictions have focused on the statistical analysis of quantitative factors, such as stock prices, trading volumes, inflation rates, and changes in industrial production. Recent advancements in large language models motivate the integrated financial analysis of both sentiment data, particularly market news, and numerical factors. Nonetheless, this methodology frequently encounters constraints due to the paucity of extensive datasets that amalgamate both quantitative and qualitative sentiment analyses. To address this challenge, we introduce a large-scale financial dataset, namely, Financial News and Stock Price Integration Dataset (FNSPID). It comprises 29.7 million stock prices and 15.7 million time-aligned financial news records for 4,775 S&P500 companies, covering the period from 1999 to 2023, sourced from 4 stock market news websites. We demonstrate that FNSPID excels existing stock market datasets in scale and diversity while uniquely incorporating sentiment information. Through financial analysis experiments on FNSPID, we propose: (1) the dataset's size and quality significantly boost market prediction accuracy; (2) adding sentiment scores modestly enhances performance on the transformer-based model; (3) a reproducible procedure that can update the dataset. Completed work, code, documentation, and examples are available at github.com/Zdong104/FNSPID. FNSPID offers unprecedented opportunities for the financial research community to advance predictive modeling and analysis.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑