All projects

Project · Serverless · LLM

MarketPulse

A serverless app that reads a stock's chart for you. It computes trend, momentum and risk indicators from two years of prices, pulls recent headlines, and has Claude explain what the numbers mean together, with no invented figures and no advice.

Live demo Source code

01The problem

Most trading dashboards show numbers and leave the interpretation to you. MarketPulse explains what a stock is doing (trend, momentum, volatility, key levels) in a few sentences, next to the figures, the chart and the headlines it was written from.

02Architecture

  1. Static frontendHosted on GitHub Pages. Ticker dropdown with search, a watchlist kept in the browser, and shareable links.
  2. API GatewayRoutes /api/quote, /api/brief and /api/news to Lambda. Rate limited, and CORS only answers the site.
  3. LambdaOne Python function fetches prices and feeds, computes the indicators, and calls Claude for the brief.
  4. S3 cacheQuotes and news are kept for 30 minutes and briefs for 6 hours, so repeat lookups skip the fetch and the model call.
  5. EventBridge scheduleInvokes the function every 30 minutes to refresh the market headlines.

All infrastructure is defined in one AWS SAM template: the private, encrypted cache bucket, a least-privilege IAM role, the schedule, and a budget alarm wired to a kill switch. The repository's README has the full diagram.

03How it works

04Security and cost controls

05Screenshots

MarketPulse landing page with the ticker dropdown and market headlines
Landing page with live market headlines
Candlestick chart for NVDA with moving averages, volume and an RSI panel
Price chart, moving averages and RSI
Key numbers table and recent NVDA headlines
Key numbers and ticker news
← Back to all projects View the code on GitHub →