# forge.ta.obv

```python
forge.ta.obv(close: ArrayLike, volume: ArrayLike) -> np.ndarray
```

On-balance volume: a running total that starts with the first bar's volume.

Volume is added on an up close and taken away on a down close. After a missing bar the total
starts again. Its level depends on where the data starts; only its shape means anything.

Since Forge API 1.

## Class forge.ta.OBV

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

Volume added on up closes and taken away on down closes.

A running total of volume, added on an up close and taken away on a down close, starting with the first bar's volume

It depends on where the data starts.

Since Forge API 1.
