These are the code snippets used in the Backtrader for backtesting guide on the AlgoTrading101 website