# Vex reference: BackQuant data

| Name | What |
| --- | --- |
| [`gex`](#gex) | Net dealer gamma exposure (flow-signed, all expiries), in $ per 1% move. Crypto only. |
| [`oi`](#oi) | Open interest, all venues, in $ (BTC, ETH, SOL, HYPE). |
| [`funding`](#funding) | Funding rate across venues, in basis points per 8 hours (BTC, ETH, SOL, HYPE). |
| [`liq_long`](#liq-long) | Long positions liquidated in the bar, in $ (BTC, ETH, SOL, HYPE). |
| [`liq_short`](#liq-short) | Short positions liquidated in the bar, in $ (BTC, ETH, SOL, HYPE). |
| [`iv`](#iv) | Implied volatility: DVOL, in percent (BTC and ETH). |
| [`prem_calls`](#prem-calls) | Net call premium in the bar (bought minus sold), in $ (BTC and ETH). |
| [`prem_puts`](#prem-puts) | Net put premium in the bar (bought minus sold), in $ (BTC and ETH). |
| [`gamma_flip`](#gamma-flip) | The gamma flip (HVL): the price nearest spot where cumulative dealer gamma changes sign, from the same dealer book as gex (Flow, all expiries; empty with no crossing within 25%). Crypto only. |
| [`call_wall`](#call-wall) | The call wall: the strike above the price with the largest positive dealer gamma (Flow, all expiries). Crypto only. |
| [`put_wall`](#put-wall) | The put wall: the strike below the price with the largest positive dealer gamma (Flow, all expiries). Crypto only. |
| [`etf_flow`](#etf-flow) | Net creations into the US spot ETFs, in $ per day (BTC, ETH, SOL, XRP; daily, lined up with the bars). |
| [`rv`](#rv) | Realised volatility, in percent: what price has done, to set against iv (BTC and ETH, daily). |
| [`rr25`](#rr25) | 30-day 25-delta risk reversal: call IV minus put IV, in vol points (above 0, calls are pricier). Crypto only. |
| [`fly25`](#fly25) | 30-day 25-delta butterfly: how much the wings cost over ATM, in vol points. Crypto only. |
| [`basis`](#basis) | The perp aggregate over the spot aggregate, in basis points (above 0, perps trade rich). Crypto. |
| [`cb_premium`](#cb-premium) | Coinbase's USD price over Binance's USDT price, in percent (above 0, US buyers pay up). BTC, ETH, SOL. |
| [`put_call`](#put-call) | Puts' open interest over calls' (above 1, more puts open). BTC and ETH, daily. |
| [`short_share`](#short-share) | The share of the day's volume reported as short sales on FINRA venues, in percent. US equities, daily. |
| [`gex_0dte`](#gex-0dte) | Net dealer gamma exposure, in $ per 1% move (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only. |
| [`gex_front`](#gex-front) | Net dealer gamma exposure, in $ per 1% move (flow-signed, the front (nearest) expiry). Crypto only. |
| [`gex_week`](#gex-week) | Net dealer gamma exposure, in $ per 1% move (flow-signed, expiries within 7 days). Crypto only. |
| [`gex_month`](#gex-month) | Net dealer gamma exposure, in $ per 1% move (flow-signed, expiries within 31 days). Crypto only. |
| [`dex`](#dex) | Net dealer delta, in $ (flow-signed, all expiries). Crypto only. |
| [`dex_0dte`](#dex-0dte) | Net dealer delta, in $ (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only. |
| [`dex_front`](#dex-front) | Net dealer delta, in $ (flow-signed, the front (nearest) expiry). Crypto only. |
| [`dex_week`](#dex-week) | Net dealer delta, in $ (flow-signed, expiries within 7 days). Crypto only. |
| [`dex_month`](#dex-month) | Net dealer delta, in $ (flow-signed, expiries within 31 days). Crypto only. |
| [`vanna`](#vanna) | Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, all expiries). Crypto only. |
| [`vanna_0dte`](#vanna-0dte) | Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only. |
| [`vanna_front`](#vanna-front) | Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, the front (nearest) expiry). Crypto only. |
| [`vanna_week`](#vanna-week) | Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, expiries within 7 days). Crypto only. |
| [`vanna_month`](#vanna-month) | Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, expiries within 31 days). Crypto only. |
| [`charm`](#charm) | Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, all expiries). Crypto only. |
| [`charm_0dte`](#charm-0dte) | Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only. |
| [`charm_front`](#charm-front) | Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, the front (nearest) expiry). Crypto only. |
| [`charm_week`](#charm-week) | Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, expiries within 7 days). Crypto only. |
| [`charm_month`](#charm-month) | Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, expiries within 31 days). Crypto only. |
| [`vega`](#vega) | Net dealer vega, in $ per vol point (flow-signed, all expiries). Crypto only. |
| [`vega_0dte`](#vega-0dte) | Net dealer vega, in $ per vol point (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only. |
| [`vega_front`](#vega-front) | Net dealer vega, in $ per vol point (flow-signed, the front (nearest) expiry). Crypto only. |
| [`vega_week`](#vega-week) | Net dealer vega, in $ per vol point (flow-signed, expiries within 7 days). Crypto only. |
| [`vega_month`](#vega-month) | Net dealer vega, in $ per vol point (flow-signed, expiries within 31 days). Crypto only. |

## gex

Net dealer gamma exposure (flow-signed, all expiries), in $ per 1% move. Crypto only.

**Returns:** a number per bar

**Example**

```vex
g = gex / 1e9
plot(g, "Net GEX ($bn)", style = bars, color = g > 0 ? up : down)
level(0)
```

## oi

Open interest, all venues, in $ (BTC, ETH, SOL, HYPE).

**Returns:** a number per bar

**Example**

```vex
plot(oi / 1e9, "OI ($bn)")
```

## funding

Funding rate across venues, in basis points per 8 hours (BTC, ETH, SOL, HYPE).

**Returns:** a number per bar

**Example**

```vex
plot(funding, "Funding (bp / 8h)", style = bars, color = funding > 0 ? up : down)
level(0)
```

## liq_long

Long positions liquidated in the bar, in $ (BTC, ETH, SOL, HYPE).

**Returns:** a number per bar

**Example**

```vex
plot(liq_long / 1e6, "Longs liquidated ($m)", style = bars, color = down)
plot(-liq_short / 1e6, "Shorts liquidated ($m)", style = bars, color = up)
```

## liq_short

Short positions liquidated in the bar, in $ (BTC, ETH, SOL, HYPE).

**Returns:** a number per bar

**Example**

```vex
plot(liq_short / 1e6, "Shorts liquidated ($m)", style = bars, color = up)
```

## iv

Implied volatility: DVOL, in percent (BTC and ETH).

**Returns:** a number per bar

**Example**

```vex
plot(iv, "IV")
plot(sma(iv, 30), "30-bar average")
```

## prem_calls

Net call premium in the bar (bought minus sold), in $ (BTC and ETH).

**Returns:** a number per bar

**Example**

```vex
plot((prem_calls - prem_puts) / 1e6, "Net premium ($m)", style = bars, color = prem_calls > prem_puts ? up : down)
```

## prem_puts

Net put premium in the bar (bought minus sold), in $ (BTC and ETH).

**Returns:** a number per bar

**Example**

```vex
plot(prem_puts)
```

## gamma_flip

The gamma flip (HVL): the price nearest spot where cumulative dealer gamma changes sign, from the same dealer book as gex (Flow, all expiries; empty with no crossing within 25%). Crypto only.

Each bar has the flip of the dealer book in force at its close, from the same history as the chart's gamma levels: never a level from the future. Further back the history is coarser (the server spaces snapshots to fit the window).

**Returns:** a number per bar

**Example**

```vex
name("Gamma flip", where = chart)

plot(gamma_flip, "Gamma flip", color = orange, style = steps)
background(close > gamma_flip ? #22c55e0d : #ef44440d)
```

See also: [call_wall](/documentation/vex/reference/backquant-data#call-wall), [put_wall](/documentation/vex/reference/backquant-data#put-wall), [gex](/documentation/vex/reference/backquant-data#gex)

## call_wall

The call wall: the strike above the price with the largest positive dealer gamma (Flow, all expiries). Crypto only.

**Returns:** a number per bar

**Example**

```vex
name("Call wall", where = chart)

plot(call_wall, "Call wall", color = green, style = steps)
mark(crosses_above(close, call_wall) and closed, "C", where = below)
```

See also: [put_wall](/documentation/vex/reference/backquant-data#put-wall), [gamma_flip](/documentation/vex/reference/backquant-data#gamma-flip)

## put_wall

The put wall: the strike below the price with the largest positive dealer gamma (Flow, all expiries). Crypto only.

**Returns:** a number per bar

**Example**

```vex
name("Put wall", where = chart)

plot(put_wall, "Put wall", color = red, style = steps)
mark(crosses_below(close, put_wall) and closed, "P", where = above)
```

See also: [call_wall](/documentation/vex/reference/backquant-data#call-wall), [gamma_flip](/documentation/vex/reference/backquant-data#gamma-flip)

## etf_flow

Net creations into the US spot ETFs, in $ per day (BTC, ETH, SOL, XRP; daily, lined up with the bars).

**Returns:** a number per bar

**Example**

```vex
plot(etf_flow / 1e6, "ETF flow ($m)", style = bars, color = etf_flow > 0 ? up : down)
plot(sum(etf_flow, 5) / 1e6, "5-day total ($m)", color = orange)
```

## rv

Realised volatility, in percent: what price has done, to set against iv (BTC and ETH, daily).

**Returns:** a number per bar

**Example**

```vex
plot(iv - rv, "Vol premium (IV - RV)", style = bars, color = iv > rv ? up : down)
level(0)
```

See also: [iv](/documentation/vex/reference/backquant-data#iv)

## rr25

30-day 25-delta risk reversal: call IV minus put IV, in vol points (above 0, calls are pricier). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(rr25, "25d risk reversal (30d)", style = bars, color = rr25 > 0 ? up : down)
level(0)
```

See also: [fly25](/documentation/vex/reference/backquant-data#fly25), [iv](/documentation/vex/reference/backquant-data#iv)

## fly25

30-day 25-delta butterfly: how much the wings cost over ATM, in vol points. Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(fly25, "25d butterfly (30d)")
```

See also: [rr25](/documentation/vex/reference/backquant-data#rr25)

## basis

The perp aggregate over the spot aggregate, in basis points (above 0, perps trade rich). Crypto.

**Returns:** a number per bar

**Example**

```vex
plot(basis, "Basis (bps)", style = bars, color = basis > 0 ? up : down)
level(0)
```

## cb_premium

Coinbase's USD price over Binance's USDT price, in percent (above 0, US buyers pay up). BTC, ETH, SOL.

**Returns:** a number per bar

**Example**

```vex
plot(cb_premium, "Coinbase premium (%)", style = bars, color = cb_premium > 0 ? up : down)
level(0)
```

## put_call

Puts' open interest over calls' (above 1, more puts open). BTC and ETH, daily.

**Returns:** a number per bar

**Example**

```vex
plot(put_call, "Put/call OI")
level(1)
```

## short_share

The share of the day's volume reported as short sales on FINRA venues, in percent. US equities, daily.

**Returns:** a number per bar

**Example**

```vex
plot(short_share, "Short % of volume")
plot(sma(short_share, 20), "20-day average", color = orange)
level(50)
```

## gex_0dte

Net dealer gamma exposure, in $ per 1% move (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(gex_0dte)
```

## gex_front

Net dealer gamma exposure, in $ per 1% move (flow-signed, the front (nearest) expiry). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(gex_front)
```

## gex_week

Net dealer gamma exposure, in $ per 1% move (flow-signed, expiries within 7 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(gex_week)
```

## gex_month

Net dealer gamma exposure, in $ per 1% move (flow-signed, expiries within 31 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(gex_month)
```

## dex

Net dealer delta, in $ (flow-signed, all expiries). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(dex)
```

## dex_0dte

Net dealer delta, in $ (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(dex_0dte)
```

## dex_front

Net dealer delta, in $ (flow-signed, the front (nearest) expiry). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(dex_front)
```

## dex_week

Net dealer delta, in $ (flow-signed, expiries within 7 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(dex_week)
```

## dex_month

Net dealer delta, in $ (flow-signed, expiries within 31 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(dex_month)
```

## vanna

Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, all expiries). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vanna)
```

## vanna_0dte

Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vanna_0dte)
```

## vanna_front

Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, the front (nearest) expiry). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vanna_front)
```

## vanna_week

Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, expiries within 7 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vanna_week)
```

## vanna_month

Net dealer vanna (VEX): how dealer delta moves when implied vol moves, in $ of delta per vol point (flow-signed, expiries within 31 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vanna_month)
```

## charm

Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, all expiries). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(charm)
```

## charm_0dte

Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(charm_0dte)
```

## charm_front

Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, the front (nearest) expiry). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(charm_front)
```

## charm_week

Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, expiries within 7 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(charm_week)
```

## charm_month

Net dealer charm (CEX): how dealer delta drifts as time passes, in $ of delta per day (flow-signed, expiries within 31 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(charm_month)
```

## vega

Net dealer vega, in $ per vol point (flow-signed, all expiries). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vega)
```

## vega_0dte

Net dealer vega, in $ per vol point (flow-signed, the front expiry while it expires within a day (0DTE), else empty). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vega_0dte)
```

## vega_front

Net dealer vega, in $ per vol point (flow-signed, the front (nearest) expiry). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vega_front)
```

## vega_week

Net dealer vega, in $ per vol point (flow-signed, expiries within 7 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vega_week)
```

## vega_month

Net dealer vega, in $ per vol point (flow-signed, expiries within 31 days). Crypto only.

**Returns:** a number per bar

**Example**

```vex
plot(vega_month)
```
