Skip to content

rob7429/backtrader.contrib

 
 

backtrader_contrib

PyPi Version Python versions

Features:

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

Installation

Use pip:

pip install backtrader_contrib

Usage

As simple as:

import backtrader_contrib as bt

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

About

No description, website, or topics provided.

Resources

License

Unknown and 4 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE.apache
BSD-3-Clause
LICENSE.bsd3
GPL-3.0
LICENSE.gplv3
MIT
LICENSE.mit

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%