Skip to content

FlashAlpha-lab/awesome-options-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Awesome Options Analytics Awesome

A curated list of tools, libraries, data providers, and resources for options analytics, volatility research, and derivatives trading. Inspired by the awesome project.

Options analytics spans a wide problem space: computing and interpreting options greeks (delta, gamma, theta, vega, vanna, charm), modeling the implied volatility surface and volatility smile, calculating gamma exposure (GEX) and dealer positioning to understand market microstructure, analyzing 0DTE and intraday options flow, fitting stochastic volatility models such as Heston and SABR, and applying systematic risk and position-sizing frameworks like the Kelly Criterion. This list collects the tools, data providers, libraries, papers, and communities relevant to each of these areas.

Contributions welcome. See Contributing.


Contents


APIs and Data Providers

  • FlashAlpha - Options analytics API providing a live options screener (filter/rank by GEX, VRP, IV, greeks, harvest scores, and custom formulas), GEX (gamma exposure), DEX (delta exposure), VEX (vanna exposure), CHEX (charm exposure), full greeks, open interest, 0DTE analytics, and AI-powered narrative analysis across equities and indices. Offers REST endpoints and SDKs in Python, JavaScript, .NET, Java, Go, plus an MCP server.
  • CBOE DataShop - Historical and real-time options data directly from the exchange, including VIX data, settlement prices, and implied volatility indexes.
  • OptionMetrics - Academic and institutional-grade historical options data (IvyDB), widely used in finance research for implied volatility surfaces and standardized greeks.
  • ORATS - Options data API with earnings forecasts, volatility surface data, backtesting tools, and historical greeks.
  • Polygon.io - Real-time and historical options data REST and WebSocket API. Aggregates, trades, quotes, and snapshots for US equity options.
  • Tradier - Brokerage API with options chains, greeks, market data, and order management. Free sandbox tier available.
  • Schwab Developer (formerly TD Ameritrade) - Options chain API with greeks, implied volatility, and real-time quotes for TD/Schwab account holders.
  • Interactive Brokers API - TWS API and Client Portal API providing options data, greeks, and order routing for IB account holders.
  • Alpaca Markets - Options market data and trading API with free and paid tiers.
  • Market Data App - Options chain and historical data API with a generous free tier.

Python Libraries

  • flashalpha - Official Python client for the FlashAlpha API. Provides convenient access to GEX, DEX, VEX, greeks, OI data, and narrative analysis with pandas integration.
  • QuantLib-Python - Python bindings for the QuantLib quantitative finance library. Covers a wide range of pricing models, term structures, and volatility surfaces.
  • py_vollib - Fast Black-Scholes, Black-76, and implied volatility calculations using LetsBeRational under the hood.
  • py_vollib_vectorized - Vectorized (NumPy-compatible) wrapper around py_vollib for high-throughput greeks computation.
  • mibian - Options pricing library for Black-Scholes, Merton, Garman-Kohlhagen, and related models.
  • options - Lightweight library for options pricing and greeks computation.
  • yfinance - Yahoo Finance market data downloader. Includes options chains with basic greeks and implied volatility.
  • pandas-ta - Technical analysis library built on pandas, useful for computing realized volatility and volatility-related indicators on underlying price series.
  • pydantic-settings - Commonly used for configuration management in options analytics pipelines.
  • arch - Autoregressive conditional heteroskedasticity (ARCH/GARCH) models for realized volatility and volatility forecasting.
  • scipy - Foundational scientific computing library used extensively for numerical options pricing and optimization.

Options Pricing and Greeks

Black-Scholes and Analytical Models

  • py_vollib - Implements Black-Scholes and Black-76 with fast implied volatility solving via LetsBeRational.
  • QuantLib - Comprehensive C++ library (with Python bindings) covering Black-Scholes-Merton, analytical barrier options, Asian options, and more.
  • black-scholes-rs - Rust implementation of Black-Scholes with Python bindings via PyO3, designed for performance-critical greeks computation.

Binomial and Lattice Models

  • QuantLib - Includes CRR (Cox-Ross-Rubinstein), Jarrow-Rudd, and other lattice models for American-style options pricing.

Monte Carlo Pricing

  • QuantLib - Provides Monte Carlo engines for path-dependent options and exotic derivatives.
  • finmc - Fast Monte Carlo simulation framework for financial derivatives pricing.

Implied Volatility Solvers

  • LetsBeRational - Peter Jaeckel's near-exact rational function approximation for Black-Scholes implied volatility (paper and reference implementation).
  • py_vollib - Wraps LetsBeRational for production-grade IV solving.

Volatility Analysis

Volatility Surface and Smile

  • QuantLib - Supports SVI parameterization, SABR model calibration, and volatility surface interpolation.
  • pysabr - Python implementation of the SABR (Stochastic Alpha Beta Rho) volatility model, widely used for vol smile interpolation.
  • ssvi - Surface SVI (SSVI) implementation for arbitrage-free volatility surface parameterization.
  • volatility-surface - Jupyter notebooks covering vol surface construction and SVI calibration from the book "Financial Models with Numerical Methods."

Realized Volatility

  • arch - GARCH-family models for realized and forecasted volatility. Supports EGARCH, TARCH, and HAR-RV.
  • realized - Oxford-Man Institute Realized Library: daily realized volatility measures for major indices.
  • pandas-ta - Includes Garman-Klass, Parkinson, Rogers-Satchell, and Yang-Zhang realized volatility estimators.

VIX and Variance

Gamma Exposure (GEX)

Gamma Exposure (GEX) measures the aggregate gamma held by market makers on a given underlying, used to infer dealer hedging flows and potential pinning or amplification effects on price.

References and Methodology

  • gex-explained - Explains GEX from first principles: the formula, dealer hedging regimes (positive vs negative gamma), the gamma flip level, call wall, put wall, and how to compute GEX from a raw options chain. Includes runnable Python code and sample data.
  • SpotGamma - Commercial platform specializing in gamma exposure, charm, vanna, and options flow analysis. Publishes educational content on GEX methodology.
  • Squeezemetrics White Paper - "The Implied Order Book" — influential paper on dealer gamma positioning and market microstructure.

Academic Papers

Tools

  • FlashAlpha - Production API providing GEX, DEX (delta exposure), VEX (vanna exposure), and CHEX (charm exposure) by strike, expiration, and aggregate. Includes narrative summaries.
  • flashalpha-examples - Self-contained Python scripts and notebooks demonstrating GEX dashboards, IV rank scanning, 3D volatility surface visualization, dealer positioning analysis, and Kelly Criterion position sizing using the FlashAlpha API.
  • OpenBB - Open-source investment research platform with options flow and GEX visualization capabilities via community extensions.

Dealer Positioning and Market Microstructure

Dealer positioning analysis focuses on inferring how market makers' hedging obligations — driven by their options inventory — create predictable, measurable pressure on underlying prices. The key exposures tracked are GEX (gamma), DEX (delta), VEX (vanna), and CHEX (charm), each of which drives hedging flows under different market conditions.

References and Papers

Tools and Data

  • FlashAlpha - Provides GEX, DEX, VEX, and CHEX profiles by strike and expiration for equities and indices, along with aggregate positioning summaries and AI narrative analysis. REST API and Python client.
  • gex-explained - Walkthrough of dealer hedging regimes, the gamma flip level, and the mechanics behind positive and negative gamma environments.
  • SpotGamma - Commercial platform tracking dealer gamma, charm, vanna, and options flow with a focus on SPX/SPY and major indices.

0DTE and Intraday Options

Zero-days-to-expiration (0DTE) options — contracts expiring the same day they are traded — have grown to represent a substantial and growing share of total SPX options volume. Their short lifespan creates distinct dynamics: rapid theta decay, concentrated gamma near the money, and large intraday hedging flows that can move the underlying.

Papers and Research

Tools and Data

  • CBOE DataShop - Source for historical SPX and SPXW intraday trade and quote data, including 0DTE contracts.
  • Thetadata - Tick-level historical options data provider with good coverage of short-dated and 0DTE contracts.
  • FlashAlpha - Exposure summaries include zero-DTE contribution breakdowns (DEX, GEX) to isolate 0DTE dealer hedging pressure from longer-dated positioning.
  • Polygon.io - Intraday and real-time options data via REST and WebSocket API, suitable for building 0DTE flow monitors.

Kelly Criterion and Position Sizing

The Kelly Criterion provides a mathematically optimal fraction of capital to allocate to a bet given an edge and a payoff distribution. Applied to options, it must account for the non-linear payoff structure, the role of implied vs realized volatility in defining edge, and the practical need for fractional Kelly to manage drawdown.

Papers and References

Tools

  • flashalpha-examples - Includes a Kelly Criterion position sizing notebook (06_kelly_sizing.py) that integrates greeks and IV data from the FlashAlpha API to compute optimal sizing fractions.
  • FlashAlpha fa.kelly() - API endpoint for Kelly-optimal position sizing given options greeks, implied volatility, and a realized volatility estimate.
  • Riskfolio-Lib - Portfolio optimization library covering Kelly and entropy-based risk measures applicable to options portfolios.

Options Screeners

Options screeners filter and rank contracts or underlyings by metrics like implied volatility, open interest, greeks, dealer exposure, or custom expressions. A good screener lets you compose filters on the stock, expiry, strike, and individual contract level in a single query.

APIs and Tools

  • FlashAlpha Live Screener - Live options screener API. Filter/rank symbols across your universe by gamma exposure (GEX), variance risk premium (VRP), IV, greeks, harvest scores, dealer flow risk, and custom formulas. Supports cascading filters on expiries, strikes, and contracts. Data refreshes every 5-10 seconds from an in-memory store. SDKs in Python, JavaScript, .NET, Java, Go, plus an MCP tool.
  • FlashAlpha Screener Cookbook - Worked recipes: harvestable VRP scans, negative-gamma alerts, vol-scanner setups, 0DTE call-seller screens, and custom formula rankings.
  • flashalpha-examples 10_live_options_screener.py - Runnable Python examples: harvestable VRP setups, IV premium ranking, cascading strike/contract filters, risk-adjusted harvest scores.
  • MarketChameleon - Commercial options screener covering unusual activity, earnings, and IV rank.
  • Barchart Options Screener - Free options screener with filters for volume, OI, IV, delta, and more.
  • Cboe LiveVol - Professional options analytics platform with custom screening.

Screening Strategies

  • Harvestable VRP - Filter for positive-gamma names with vrp_regime = harvestable, dealer_flow_risk <= 40, harvest_score >= 65. Captures short-vol setups where implied richness is durable.
  • Negative gamma alert - Filter for regime = negative_gamma and dealer_flow_risk >= 50. Identifies names where hedging flows amplify price moves.
  • IV premium ranking - Rank by the formula atm_iv - rv_20d to find names where implied is richest vs trailing realized.
  • Cascading 0DTE call seller - Filter expiries.days_to_expiry = 0, contracts.type = C, contracts.delta >= 0.3, contracts.oi >= 1000 to surface high-probability short-call candidates.
  • Risk-adjusted harvest - Compute harvest_score / (dealer_flow_risk + 1) as a formula to rank setups by expected reward per unit of hedging-flow risk.

Open Source Projects

  • OpenBB - Open-source investment research platform. Includes options chain data, IV surface visualization, and extensible data connectors.
  • QuantLib - Industry-standard open-source quantitative finance library (C++ with Python, R, and Java wrappers).
  • Riskfolio-Lib - Portfolio optimization library that includes risk measures relevant to options portfolio management.
  • PyAlgoTrade - Python algorithmic trading library with backtesting support.
  • FinancePy - Python finance library covering options, bonds, credit derivatives, and more with a focus on practical implementation.
  • tf-quant-finance - Google's TensorFlow-based quantitative finance library with GPU-accelerated options pricing and calibration.
  • Volatility3 - Note: this is a memory forensics tool, not finance — included as a naming caution for researchers.
  • optopsy - Options backtesting library for Python, designed for systematic options strategy testing.

Educational Resources

Books

Courses and Lecture Notes

Papers

Communities

  • r/options - Reddit community for options trading discussion, strategies, and education.
  • r/algotrading - Algorithmic trading community covering systematic options strategies, backtesting, and quantitative research.
  • r/thetagang - Community focused on premium selling strategies: covered calls, cash-secured puts, spreads, and iron condors.
  • r/quant - Quantitative finance community including volatility modeling, derivatives research, and academic discussion.
  • Quantocracy - Curated aggregator of quantitative trading and research blog posts, including frequent options and volatility content.
  • QuantConnect Community - Algorithmic trading community centered around the QuantConnect backtesting platform. Options strategy forums and shared algorithms.
  • Wilmott Forums - Long-running quantitative finance forum covering derivatives pricing, volatility, and financial engineering.
  • Nuclear Phynance - Forum for quantitative finance practitioners focused on derivatives and risk.
  • Elitetrader Options - Practitioner forum with active options strategy and market microstructure discussion.

Market Data Sources

Free

  • Yahoo Finance Options - Free options chains with basic greeks via the website and yfinance Python library.
  • CBOE Free Data - CBOE publishes free daily market statistics including options volume, VIX, and put/call ratios.
  • Nasdaq Options - Options analytics and chain data from Nasdaq.
  • Barchart Options - Free options chains, IV rank, IV percentile, and skew data with limited historical depth.

Paid and Institutional

  • OptionMetrics IvyDB - Standardized end-of-day options data used widely in academic research.
  • ORATS - Historical and real-time options data with earnings history, IV surface, and backtesting API.
  • CBOE DataShop - Official exchange data including historical options trades, quotes, and settlement data.
  • Refinitiv (LSEG) - Institutional market data terminal and API with comprehensive options data.
  • Bloomberg - Industry-standard terminal with full options chains, vol surfaces, and derivatives analytics.
  • Intrinio - Options data API with end-of-day and real-time tiers.
  • Polygon.io - Real-time and historical US equity options data via REST and WebSocket API.
  • Thetadata - Historical options data provider focused on tick-level and end-of-day data for systematic traders.

Contributing

Contributions are welcome. To add a resource:

  1. Fork this repository.
  2. Add your resource to the appropriate section in alphabetical order within that section, or propose a new section if warranted.
  3. Follow the existing format: - [Name](url) - Description.
  4. Ensure the resource is real, maintained, and genuinely useful to the options analytics community.
  5. Submit a pull request with a brief explanation of why the resource belongs on the list.

Please do not submit self-promotional links without disclosure, broken links, or resources of marginal quality.


License

CC0

To the extent possible under law, the contributors have waived all copyright and related or neighboring rights to this work.

About

A curated list of options analytics tools, APIs, libraries, papers, and educational resources for quantitative options trading

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors