# forge.ta.vwma

```python
forge.ta.vwma(source: ArrayLike, volume: ArrayLike, period: int = 20) -> np.ndarray
```

Volume weighted average: ``sum(price * volume) / sum(volume)`` over the last ``period`` bars.

NaN where the window holds a missing value or its volume adds to zero.

Since Forge API 1.

## Class forge.ta.VWMA

```python
forge.ta.VWMA(**inputs: Any) -> None
```

Average that weights each price by the volume traded at it.

VWMA[i] = sum(x[j] * v[j]) / sum(v[j]) over the last period bars

No value until period bars exist, or where the volume in the window adds to zero.

Since Forge API 1.
