Skip to main content

Contributions to the backTesting engine

Project description


backtrader_contrib
==================

.. image:: https://img.shields.io/pypi/v/backtrader.svg
:alt: PyPi Version
:scale: 100%
:target: https://pypi.python.org/pypi/backtrader_contrib/

.. image:: https://img.shields.io/pypi/pyversions/backtrader.svg
:alt: Python versions
:scale: 100%
:target: https://pypi.python.org/pypi/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``

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*

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backtrader_contrib-0.0.2-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file backtrader_contrib-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for backtrader_contrib-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0b049dd6597ca43c5f18256c585b2bf61d7ce9395c50e2fc4785c9d7649563c7
MD5 5f18c0cff62450081a5ba1df69c6a802
BLAKE2b-256 715addb0610b35d5069b286df5257dbd01ec627e6e41e73e98442b1b9392866f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page