This section is at https://rollingedition.com/time-series-forecasting/backtest-without-looking-ahead#keep-the-future-out-of-history.