Python frameworks for backtesting
Posted: September 11th, 2023, 7:22 am
I want to move to Python for my backtesting and possibly auto trading as well. Considering leading frameworks. My requirements are:
- An open source project on Github
- Actively developed or at least actively supported with a large community
- Stable
- Flexible enough so I could easily implement processes such as walk-forward analysis
- backtesting.py - very well known, large community, commonly mentioned as "easy to learn", however seem to get less "respect" then other project in terms of depth and looks like it's not actively developed or supported.
- backtrader - well known, good forums (alhtough many say the admin isn't very nice), supposed to be less intuitive than backtesting.py but still not too complex, no "issues" tab in github, and again doesn't seem very active in dev.
- vectorbt - claimed to be way faster then any other Python framework, which is well.. great... however the main issue there is it's a work of a single developer, who puts his energy mainly into the Pro (paid) version. Now, I don't have a big problem paying but I want the code to be 100% open and observable by anyone, I don't see how it's possible for paid version.