forge.series.shift(x: ArrayLike,n: int = 1,*,fill: float = nan) -> np.ndarray
x moved n bars later, so the value at bar i is x[i - n].
x
n
i
x[i - n]
The first n bars hold fill, NaN unless given. n is a whole number of bars back, 0 or more.
fill
All of forge.series