This project will scrape yahoo finance articles on a particular stock of your choosing and perform sentiment analysis using NLP on the headlines. It will show you a graph of the sentiment compound score over time.
- A compound score = 0 indicates the news headline being neutral.
- A compound score > 0 indicates a positive headline.
- A compound score < 0 indicates a negative headline.
Libraries used:
- nltk
- beautifulsoup
- selenium
- matplotlib
Scrape headlines of yahoo newsAdd sentiment analysis of headlines using a pre-trained modelRefine sentiment analysis by adding custom financial lexiconAdd functionality to scrape all yahoo finance articles on a particular stock and then visualise their sentiment compound_score over time.