US Stock Screener

python dev.to

US Stock Screener

Access address

https://usstockscreener-production-6b89.up.railway.app/

A daily US stock screener built with FastAPI + React. Fetches a curated tech/value stock pool via yfinance, computes daily technical patterns and rolling indicators into a single data.parquet snapshot, and serves a full-featured filter/sort/research UI with real-time data support.


Features

Main Screener

  • Pattern filters — single/double/triple candlestick patterns, MA trend patterns, volume/volatility signals, momentum signals
  • Numeric filters — range conditions on any continuous metric (PE, ROE, market cap, etc.)
  • Preset strategies — one-click strategy presets combining multiple filters
  • Sortable table — sort by any column; paginated results
  • Signal score — composite ranking score shown per stock

Watchlist

  • Star any stock to add it to your watchlist (persisted via localStorage)
  • Watchlist-only mode — filter the table to show only starred stocks
  • Watchlist bar shows count and quick actions

Stock Research Page (/stock/:symbol)

  • Price chart with candlestick + volume
  • Technical indicators panel (MA, volatility, drawdown)
  • Financials panel (PE, PB, ROE, margins, growth)
  • Pattern history panel — win-rate and average return for triggered patterns
  • Previous / next navigation within current filtered results

Compare Page (/compare)

  • Select 2–5 stocks via checkboxes in the screener or "Add to Compare" on research pages
  • Side-by-side metric table across 7 categories: Overview, Price Momentum, Valuation, Profitability, Growth, Financial Health, Risk
  • Best value highlighted green, worst highlighted red per metric row
  • Selection persists across page navigations (sessionStorage), resets on filter/sort change

Pattern Stats Page (/pattern-stats)

  • Historical win-rate and average return for every pattern signal in the stock pool

Source: dev.to

arrow_back Back to Tutorials