Skip to main content

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

::

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

Release files for backtrader_contrib 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for backtrader_contrib 0.0.2
File Interpreter ABI Platform
backtrader_contrib-0.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / backtrader_contrib-0.0.2-py2.py3-none-any.whl

Download URL backtrader_contrib-0.0.2-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0b049dd6597ca43c5f18256c585b2bf61d7ce9395c50e2fc4785c9d7649563c7
BLAKE2b-256 checksum
How to use checksums
715addb0610b35d5069b286df5257dbd01ec627e6e41e73e98442b1b9392866f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page