"From everyone who has been given much, much will be demanded."Luke 12:48

Feature Documentation

Complete reference of all calculations and features in AlphaGEX with code snippets and examples

50
Calculations
20
Categories
67
Subcategories
50
Showing
92
Source Files

Core Gamma

Net GEX#1
GEX = gamma × OI × 100 × spot²

Quantifies market maker gamma positioning. Positive = mean reversion, Negative = trending moves

Call Wall#2
Strike with highest call gamma ≥ spot (must be ≥0.5% away)

Identifies gamma-induced resistance where market makers defend

Put Wall#3
Strike with highest put gamma ≤ spot (must be ≥0.5% away)

Identifies gamma-induced support where market makers defend

Gamma Flip Point#4
flip = prev_strike + (strike - prev_strike) × (-prev_net) / (net - prev_net)

Price level where MM hedging behavior changes from long-gamma to short-gamma

Max Pain#5
For each strike: total_pain = Σ(max(0, test - call_strike) × call_OI) + Σ(max(0, put_strike - test) × put_OI); max_pain = argmin(total_pain)

Strike where option holder loss is minimized; acts as price magnet at expiration

Distance Metrics

Distance to Flip %#6
(spot - flip_point) / spot × 100

Measure how far price is from the gamma flip point

Normalized Metrics

GEX Normalized#7
gex_normalized = net_gex / spot²

Scale-independent GEX for comparison across different stock prices

Wall Analysis

Wall Strength %#8
wall_strength_pct = |strike_gex| / |net_gex| × 100

Measures how strong a particular gamma wall is relative to total

Ratios

GEX Ratio#9
|put_gex| / |call_gex|

Directional bias signal based on put/call gamma imbalance

GEX Ratio Log#10
log(gex_ratio) clamped to [0.1, 10]

ML-friendly scaling of GEX ratio

AlphaGEX Feature Documentation • Generated from codebase analysis

50 calculations across 20 categories from 92 source files