Contributions to the backTesting engine
Project description
backtrader_contrib
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
Usage
As simple as:
import backtrader_contrib as bt
And carry on using bt as if you had directly imported backtrader
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for backtrader_contrib-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55c48313e7e3cb2329f48dd47095dedc84557009b402a1348be4f9588ec2f7cf |
|
MD5 | 680b5f5461d4acbbe7075420fb599aae |
|
BLAKE2b-256 | 12c67b2508595f2d04b8fd6d7fc37ae8bdb2fce85b1ceb80904e5c2d936bcbea |