> Every Taji docs page as Markdown: https://docs.taji.is/llms.txt

# GEX

Dealer gamma exposure, and the delta, vanna, charm and vega kin, computed from an option chain's own implied volatility and open interest at the underlying's spot. It serves four products for index and equity underlyings (SPX, SPY, QQQ), one row per chain snapshot, sampled every 60 seconds live.

## What it needs

An option chain with implied volatility and open interest on every contract: Alpaca, TradeStation, Massive, Interactive Brokers, Schwab, Robinhood Agentic, or Yahoo Finance with no key.

Databento's chains carry no open interest, so they draw nothing here. Every provider's cells: [data coverage](https://docs.taji.is/reference/coverage/data.md).

You get GEX by building it, not by installing it: no registry serves it and `taji-open` does not compile it in, so build it in its own directory (`cargo build --locked` there) and stage it in a directory `TAJI_PLUGINS` names, as [the GEX recipe](https://docs.taji.is/cookbook/gex-profile.md) does. Once staged, add its layers or scripts from the chart's Indicators list: layers are under the Plugins category, its scripts under `taji-gex`. The catalog marks each "needs a link" until a linked provider serves an option chain with `iv` and `open_interest`.

## Use

| Product | One row is |
|---|---|
| `taji-gex.levels` | spot, net, calls, puts, same-day, above and below spot, flip, call and put walls, magnet, max pain |
| `taji-gex.strikes` | net, calls and puts by strike, and net by days to expiry (`d0` to `d121`), the strikes within `window_pct` of spot |
| `taji-gex.curve` | net exposure at hypothetical spots within `window_pct`, in 0.25% steps |
| `taji-gex.expiries` | net, calls and puts by expiry |

Words, on all four: `lens` (`gamma`, `delta`, `vanna`, `charm`, `vega`, `iv_oi`, `oi`), `expiries` (`all`, `0dte`, `week`, `month`, `front`, `to_friday`, `to_next_friday`, `to_opex`, `to_next_opex`, `to_q_opex`), `units` (`usd`, `underlying`) and `rate_pct`; `strikes` and `curve` add `window_pct`.

```
GET /get/taji-gex.levels?symbols=index:$SPX&lens=gamma
```

Two script indicators read them, each taking `lens`, `expiries` and `units`; the catalog shows their source:

- `gex_net`: `levels`' net as a plot with a line at 0, and a card of the regime, net, same-day, calls, puts, magnet, flip, and above and below spot.
- `gex_expiries`: `expiries`' net as bars, one per expiry with its days to go.

Three chart layers draw them: `GEX levels` (flip solid, the walls, magnet and max pain dashed), `GEX profile` (net by strike in the dock, recoloured by `plugins/taji-gex/ui/profile.wgsl`) and `GEX curve` (net at hypothetical spots in the dock). The profile's shader fades each bar from 45% of its alpha at the zero line to full at its end and mutes the smaller bars; where the window cannot run it, the bars draw in the renderer's colours. `golden/` holds each layer's capture: `taji plugin check . --bless` rewrites it, and the shaded profile's `budget` is timed in a 960×600 page ([Draw a chart layer](https://docs.taji.is/plugins/layer.md)).

Every figure is an estimate. Each product's `model` says how it is computed, and a read serves it with `computed_by` and `estimated`. Dealers are assumed long calls and short puts; a contract with no `iv` or no open interest counts in no column, and a snapshot with no spot or no priced contract is no row.

History is the snapshots Taji held on each New York day, so it starts from first use. The kernel records the rows of `levels`, `strikes` and `curve`; `expiries` is computed on each read.

## References

- `plugins/taji-gex/taji-plugin.toml`
