bt - flexible backtesting for Python
pmorissette/bt has 3,002 GitHub stars.
It currently ranks #9891 daily, #11022 weekly, #14689 monthly by momentum on Trending Repos; its best-ever rank is #3462.