the-casle / FNSPID_Financial_News_Dataset

FNSPID: A Comprehensive Financial News Dataset in Time Series

Home Page:https://arxiv.org/abs/2402.06698

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FNSPID: A Comprehensive Financial News Dataset in Time Series

FNSPID (Financial News and Stock Price Integration Dataset), is a comprehensive financial dataset designed to enhance stock market predictions by combining quantitative and qualitative data. It contains 29.7 million stock prices and 15.7 million financial news records for 4,775 S&P500 companies from 1999 to 2023, gathered from four stock market news websites. This dataset stands out for its scale, diversity, and unique incorporation of sentiment information from financial news. Research using FNSPID has shown that its extensive size and quality can significantly improve the accuracy of market predictions. Furthermore, integrating sentiment scores into analyses modestly boosts the performance of transformer-based models. FNSPID also introduces a reproducible method for dataset updates, offering valuable resources for financial research, including complete work, code, documentation, and examples available online. This dataset presents new opportunities for advancing predictive modeling and analysis in the financial research community.

Dataset location

Due to the large volume of the dataset, the dataset is available at the Hugging Face.

What can this repo do?

The FNSPID repository offers the FNSPID dataset, experimental results, and a news content scraper tool. It provides comprehensive financial data combining stock prices and news records for S&P500 companies, demonstrates the dataset's impact on prediction accuracy, and includes a tool for updating the dataset with new financial news.

In this GitHub repo, we did three main tasks:

1. Data scraper.

In folder data_scraper, we provided tools to collect news data from Nasdaq.

2. Data processor.

In folder data_processor, we explained how we integrate our data into workable data.

3. Dataset experiments.

In folder dataset_test, we provided ways using DL models to test the dataset.

For details of how to use them, you can find instructions data_scraper.md, data_processor.md, and dataset_test.md in these folders

Related Financial Datasets:

Financial-News-Datasets 2013

Benzinga

Disclaimer

Reliability and Security

The code provided in this GitHub repository is shared without any guarantee for its reliability and security. The developers and contributors of this project expressly disclaim any warranty, either implied or explicit, regarding the code's performance, security, or suitability for any particular purpose. The users should employ this code at their own risk, acknowledging that the developers shall not be held responsible for any damages or issues arising from its use.

Purpose of Use

This code is primarily intended to illustrate our workflow processes and to serve as a medium for educational exchange and learning among users. It is made available for the purpose of showcasing our technical approaches and facilitating learning within the community. It is not designed for direct application in production environments or critical systems.

Prohibition of Commercial Use

The use of this code for commercial purposes is strictly prohibited without prior authorization. If you wish to utilize this code in a commercial setting or for any revenue-generating activities, you are required to obtain explicit permission from the original authors. Please contact us at puma122707@gmail.com to discuss licensing arrangements or to seek approval for commercial use.

Acknowledgement

By accessing, using, or contributing to this code, you acknowledge having read this disclaimer and agree to its terms. If you do not agree with these conditions, you should refrain from using or interacting with the code in any manner.

Citation

@misc{dong2024fnspid,
      title={FNSPID: A Comprehensive Financial News Dataset in Time Series}, 
      author={Zihan Dong and Xinyu Fan and Zhiyuan Peng},
      year={2024},
      eprint={2402.06698},
      archivePrefix={arXiv},
      primaryClass={q-fin.ST}
}

About

FNSPID: A Comprehensive Financial News Dataset in Time Series

https://arxiv.org/abs/2402.06698

License:Other


Languages

Language:Jupyter Notebook 84.9%Language:Python 15.1%