Back to Projects

Top Options Volume Chart

PythonFlaskReactTypeScriptyFinance

About

This tool surfaces the top traded options for a ticker by aggregating option chains from Yahoo Finance and ranking contracts by volume. On submit, the frontend calls a Next.js API that launches a Python worker using yfinance and pandas. The worker pulls all listed expirations for the symbol, fetches each option chain, tags calls/puts, and safely coerces fields to numerics. It filters out contracts with missing/zero volume or open interest, sorts by volume, and returns a compact JSON payload: contract label (expiration • strike • C/P), volume, open interest, and type. The UI then renders a stacked bar chart where call/put volumes are color-coded and open interest is shown alongside for context, letting users quickly spot the most active strikes/expiries and where liquidity is concentrated. The pipeline is stateless (base JSON over stdout), resilient to partial chain failures, and optimized for fast, explorable market scans.

Gallery

Top Options Volume Chart media 1