vectorbt allows you to easily backtest strategies with a couple of lines of Python code.
copied from cf-post-staging / vectorbtvectorbt is a Python package for quantitative analysis that takes a novel approach to backtesting: it operates entirely on pandas and NumPy objects, and is accelerated by Numba to analyze any data at speed and scale. This allows for testing of many thousands of strategies in seconds.