Backtesting Lab

Identify Leaking Features

At close t, which feature is unavailable for a prediction made at t?

At close t, which feature is unavailable for a prediction made at t?

a = close.pct_change()
b = close.shift(-1) / close - 1
c = volume.rolling(5).mean()