Built a Python Pipeline that Scrapes, Summarizes and Calculate Sentiment Score from Stock and Crypto News Articles from web.
- The Scraping of the News Articles is done using BeautifulSoup-Python.
- The deep learning model is developed using Hugging Face Transformer- Pegasus Financial Model.
- The Sentiment Analysis is then done on the Summaries, and a sentiment score is generated via Transformers Pipeline classified as POSITIVE OR NEGATIVE.
- The Final Output Csv is present in the repository.
The Scraping of News Articles is done from Yahoo Finance.
- Clone or download this repository to your local machine.
- Install the required libraries mentioned in the project.
- Run the
app.py
command on your command prompt. - Pass the Code of the Stock/Crypto you want the analysis about in the
monitored_tickers
, for example: TSLA for Tesla, INFY for Infosys, etc. - Run the command, and the pipeline will automatically generate a CSV file containing all the details.