Trading

Market News Sentiment and Stock Correlation Tracker

A Python pipeline that scrapes daily financial headlines for a ticker, scores them with NLTK's VADER and correlates the daily sentiment with the stock's price movement. It computes a Pearson correlation against yfinance close prices and falls back to a sample headline file when the Yahoo Finance RSS feed is unreachable.

Stack
Python, NLTK VADER, yfinance, BeautifulSoup
Code
github.com/ADM1SH/market-sentiment-stock-tracker

Overview

AAPL headline sentiment against daily price change from 01/07/2026 to 08/07/2026, with sentiment and price on two separate axes.
AAPL headline sentiment against daily price change from 01/07/2026 to 08/07/2026, with sentiment and price on two separate axes.

Install

  1. Clone the repository.
git clone https://github.com/ADM1SH/market-sentiment-stock-tracker.git
cd market-sentiment-stock-tracker
  1. Install the dependencies.
pip install -r requirements.txt
  1. Run the pipeline for a ticker.
python main.py AAPL
  1. Run the smoke test for the VADER scoring.
python test_sentiment.py

Docs

The full documentation covers how it works, configuration and results.