
Backtesting.py Full course in python
The "Backtesting.py" course in Python is an introduction to backtesting and focuses on the essentials of backtesting. Unlike other backtesting libraries, backtesting.py is lightweight, easy to understand, and has a built-in parameter optimizer and heatmap plotter. It has some limitations, such as not being able to trade multiple assets or allowing fractional shares. The instructor demonstrates how to define a strategy as a class and pre-calculate values for technical indicators. The course includes backtesting with a dataset and how to plot and interact with the data using the browser. It explores the backtesting.py dashboard, strategy optimization, and how to apply constraints while using lambda functions. The speaker also demonstrates how to implement different order types, such as stop loss and take profit orders and initiate short positions. Finally, the video covers how to use the "resample apply" function to enable multi-time frame strategies. The course aims to provide beginners with a strong foundation in backtesting and is a great option for those wanting to get started with backtesting.