CH Charles Hayes
Menu
← back to all projects

Stock Narrative Explorer

Interactive equity-narrative tool that generates confidence-tiered, day-by-day AI explanations for stock movements (NVDA, MSFT, TSLA, LPLA), combining yfinance, Finnhub, SEC EDGAR, and Google News with daily drift detection.

Python FastAPI Anthropic API React/Vite Docker Railway

Problem

When a stock moves sharply, the explanations available in real time are usually low-quality: rumor-driven, single-source, or written hours after the move with the benefit of hindsight. I wanted a tool that could explain a day’s price action with the same standard I’d hold an internal incident review to: cite sources, separate signal from rumor, and be explicit about what it doesn’t know.

Approach

A daily pipeline pulls price data, news, regulatory filings, and macro context for a watchlist (NVDA, MSFT, TSLA, LPLA). An AI layer generates a per-day narrative against a strict schema: the explanation must include a confidence tier, supporting sources, and an explicit “what’s missing” section. A drift-detection job re-evaluates older narratives when new information lands so they don’t go stale silently.

Architecture

Outcomes / What I learned