Tech Stack
The Problem
Financial markets generate relentless volumes of news headlines alongside rapid price shifts, making it difficult to evaluate whether news sentiment genuinely drove price action or merely produced noise. Retail investors and market analysts lack lightweight systems that objectively correlate financial narrative with empirical market movements. The goal was to build an automated intelligence platform that pairs sentiment polarity with ground-truth market returns.
Architecture
MarketSynapse fuses qualitative market narrative with quantitative price data through a multi-stage NLP and financial data pipeline. The backend ingests relevance-filtered financial news headlines scored by FinBERT alongside real-time historical OHLCV data from yfinance to determine an alignment verdict—evaluating whether market sentiment validated or diverged from price action. A self-correcting 3-node LangGraph agent then extracts key numerical facts, drafts an executive market brief, and reviews/revises the brief against grounded price metrics before persisting findings to a SQLite sentiment history log. The platform includes dual-ticker compare mode, a live market pulse ticker strip, and a dedicated in-app 'How It Works' page featuring interactive pipeline diagrams.
Approach
- 01
Deployed FinBERT (finance-domain sentiment model) to classify financial news headlines with domain-tuned polarity and confidence scores.
- 02
Automated real-time stock price history retrieval via yfinance, aligning price trajectories directly with news publication windows.
- 03
Built an alignment correlation engine that evaluates whether market price movement matched sentiment or diverged.
- 04
Designed a self-correcting 3-node LangGraph agent loop (extract facts → write brief → review/revise brief) for grounded market commentary.
- 05
Implemented a comprehensive React interface with dual-ticker comparison, a live market pulse ticker strip, SQLite historical tracking, and an interactive 'How It Works' walkthrough.
Outcome
An automated financial intelligence platform that grounds news sentiment in real market price movements. By validating LLM-generated summaries through a self-correcting review cycle and retaining verifiable SQLite audit history, MarketSynapse provides actionable, hallucination-free market briefs.