In this video we go in-depth on how to use stop-losses in backtesting.py. We cover both static and trailing stop losses and how backtesting.py executes them in the event of a conflict with a take-profit signal.
⭐ Code:
https://github.com/ChadThackray/backt...
Blog:
https://greyhoundanalytics.com/blog/s...
00:00 - Intro
00:57 - Simple take-profit and stop-loss
13:06 - Trailing Stop Loss
18:17 - Customized Trailing Stop Loss