# Volume Delta (/scripting-v2/sources/vd)



MMT provides bucketed VD candles for live jobs and backtests:

```python
history.source("btc@vd@hyperliquidf@mmt:timeframe=60,bucket=1")
```

Standalone BULK and Hyperliquid VD are derived from live trades:

```python
history.source("btc@vd@bulkf")
history.source("btc@vd@hyperliquidf")
```

Do not add `timeframe` or `bucket` to standalone VD. Direct standalone VD is not available in backtests.

```python
SELECTOR = "btc@vd@hyperliquidf@mmt:timeframe=60,bucket=1"
records = history.source(SELECTOR)
current = history.source(SELECTOR, 0)
bucket = ctx.source_configs[ctx.source]["bucket"]
```

MMT bucket `1` includes all trades. Buckets `2` through `11` cover increasing notional ranges from `$1-$1K` through `$5M+`.

See [Volume Delta Data](/scripting-v2/data-types/vd) and [`ctx.study.cvd`](/scripting-v2/built-ins#ctxstudycvd).
