Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Contributions to the backTesting engine

Project Description



This is the repostory for foreign contributions to backtrader.

Pull Requests can be accepted with the following LICENSES:

  • GPLv3
  • MIT
  • BSD 3-Clause
  • Apache 2.0

How does it work

The package will scan .py file inside the corresponding subpackages (like analyzers, indicators, etc) and will import the classes which are subclasses of the corresponding subpackages (Analyzer, Indicator)

Errors will be silently ignored

Successfully imported elements will be added to the corresponding subpackage of backtrader. I.e.: anything inside backtrader_contrib.indicators will be monkey-patched (added) to backtrader.indicators

The package will auto-replace itself and return backtrader


pip install backtrader_contrib


As simple as:

import backtrader_contrib as bt

And carry on using bt as if you had directly imported backtrader

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
backtrader_contrib-0.0.2-py2.py3-none-any.whl (3.7 kB) Copy SHA256 Checksum SHA256 3.6 Wheel Nov 15, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting