vectorbt is a package that combines backtesting and data science.
It takes a “vectorized” approach to backtesting using pandas and NumPy.
This means that instead of looping through every day of data, it operates on all the data at once.
This allows for testing millions of strategies in a few seconds.
I did a deep dive in how to use it here:
https://pyquantnews.com/1000000-backtest-simulations-20-seconds-vectorbt/
It takes a “vectorized” approach to backtesting using pandas and NumPy.
This means that instead of looping through every day of data, it operates on all the data at once.
This allows for testing millions of strategies in a few seconds.
I did a deep dive in how to use it here:
https://pyquantnews.com/1000000-backtest-simulations-20-seconds-vectorbt/
