Skip to content

KB/api

GET /api/v1/company/{ticker}/gamma

Last verified

Auto-generated. This article is rebuilt from FastAPI route introspection by scripts/build_api_kb.py. Edit the route docstring in app/ and re-run the script β€” do not edit this file directly.

GET /api/v1/company/{ticker}/gamma

Handler: app.company.routes.get_company_gamma
Methods: GET

Description

Per-name gamma rail + strike ladder for the company dashboard.

Reads the latest co_options_daily gamma aggregates (walls / ZGL / net GEX / gamma zone) and builds the gamma-by-strike ladder from co_option_strikes_daily for the latest trade_date with per-strike rows.

Phase D (schema 2026.06.4): returns dual-grain blocks wide (first ~5 expirations) and near (front 1-2 expirations), each with its own walls / ZGL / net GEX / zone / ladder recomputed from the PERSISTED co_option_strikes_daily rows β€” no brokerage data session re-fetch. The legacy flat fields are retained, populated from the Wide grain (falling back to the stored co_options_daily aggregates when per-strike rows are absent) so existing consumers stay unbroken. The intraday live spot, when present, drives the wall-distance + zone recompute for BOTH grains.

404 when the ticker is not scaffolded. 200 with null aggregates + empty ladder when the ticker is known but no options data exists yet.

Parameters

In Name Type Default Description
path ticker str PydanticUndefined

Curl

curl -s https://bigclawd.com/api/v1/company/{ticker}/gamma