https://github.com/asad70/stock-news-sentiment-analysis
This program uses Vader SentimentIntensityAnalyzer to calculate the news headline overall sentiment for a stock
https://github.com/asad70/stock-news-sentiment-analysis
data data-science data-visualization finviz finviz-scraper news news-analysis news-headline sentiment sentiment-analysis stock stock-analysis stock-news-analysis stocks vader-sentimentintensityanalyzer
Last synced: over 1 year ago
JSON representation
This program uses Vader SentimentIntensityAnalyzer to calculate the news headline overall sentiment for a stock
- Host: GitHub
- URL: https://github.com/asad70/stock-news-sentiment-analysis
- Owner: asad70
- License: mit
- Created: 2021-01-01T00:40:50.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-03T20:20:32.000Z (almost 5 years ago)
- Last Synced: 2025-04-04T21:11:11.670Z (over 1 year ago)
- Topics: data, data-science, data-visualization, finviz, finviz-scraper, news, news-analysis, news-headline, sentiment, sentiment-analysis, stock, stock-analysis, stock-news-analysis, stocks, vader-sentimentintensityanalyzer
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 29
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stock-news-sentiment-analysis
Purpose: To analyze the news headline of a specific stock.
This program uses Vader SentimentIntensityAnalyzer to calculate the news headline compound value of a stock for a given day.
# How to run:
python3 'Stock news.py'
Analyze multiple stocks at the same time. Ex: 'AAPL, MSFT, F, TSLA' separate each input by a comma.
Analyze all news or a specific date of news.
Ex: "Enter the date/press enter for today's news (Ex: Dec-27-20) or 'All' for all the available news: "
hit enter for today's news, enter a specific date, or type all for all the news (limited).
You can also ignore source: Ex: ignore_source = ['Motley Fool', 'TheStreet.com']
Limitations:
This program only analyzes headlines and only for the dates that have news available on finviz.
Example output:

## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.