Backtrader

Calculating Multi-Timeframe Backtests in Python with Backtrader

Pretty often it can be interesting to backtest a strategy across several timeframes. In the simple case you want to have a signal on one timeframe and just want a confirmation for another higher timeframe. In this video, I will show you how easy it is to use multiple timeframes in Backtrader backtests in Python. …

Calculating Multi-Timeframe Backtests in Python with Backtrader Read More »

Running Backtesting for Universe of Stocks in Python with Backtrader

Pretty often you want to backtest your strategy on multiple instruments and you’re interested in how it will work together. In this article, I will show you how easy it is to do that in Python using Backtrader. To load multiple data sources to Backtrader you can use the following code: The idea is pretty …

Running Backtesting for Universe of Stocks in Python with Backtrader Read More »