Warning: v0.2.0 breaking changes
Version 0.2.0 introduced some breaking API changes. For quick ways to migrate existing 0.1.x code, see the implementing pull request.
- Library of Utilities and Composable Base Strategies
- Multiple Time Frames
- Parameter Heatmap
- Trading with Machine Learning
These tutorials are also available to test as live Jupyter notebooks:
- (contributions welcome)
Potentially outdated answers to popular questions can be found on the issue tracker.
This software is licensed under the terms of AGPL 3.0, meaning you can use it for any reasonable purpose and remain in complete ownership of all the excellent trading strategies you produce, but you are also encouraged to make sure any upgrades to Backtesting.py itself find their way back to the community.
API Reference Documentation
Core framework data structures. Objects from this module can also be imported from the top-level module directly, e.g …
Collection of common building blocks, helper auxiliary functions and composable strategy classes for reuse …
Data and utilities for testing.