We take a deep dive into how to implement stop losses in backtesting.py, including trailing stop losses.
Learn how to get free historic price data from Polygon.io using their REST API
Learn how to make your own custom indicators in backtesting.py
Learn to programmatically identify common candlestick patterns using TA-lib in python
We use backtesting.py to produce a template for testing dollar cost averaging based strategies
VectorBt is an up and coming framework which is very fast and suitable for experienced programmers. But how does it compare to the venerable Backtrader?
Backtesting.py is a lightweight backtesting framework in Python.
Learn the basics of VectorBt's plotting functionality
Learn how to combine multiple indicators in VectorBt to test more complex strategies with the indicator factory
Learn how to implement your own custom indicators in VectorBt with the indicator factory