Skip to main content

Backtest engine for algorithmic trading

Project description

Backtest

A backtest engine for developing algorithmic trading strategy.

PyPI

Table of Contents

Installation

pip install backtest

Usage

Simple Statistics

import numpy as np
import backtest 

backtest.run()

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Testing

Test codes are located in tests/ based on PyTest framework.

Project details


Download files

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

Source Distribution

backtest-0.7.4.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

backtest-0.7.4-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file backtest-0.7.4.tar.gz.

File metadata

  • Download URL: backtest-0.7.4.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

File hashes

Hashes for backtest-0.7.4.tar.gz
Algorithm Hash digest
SHA256 371a5780d8e0b6d5e2b60f1ab36b45280a48d47d2fbaf97750e0949a99462f8c
MD5 11f8a403541bb1525e4a2aaa61d3b1e3
BLAKE2b-256 952cf6df651741a8a9dc87e6fa2b24ebf585155906de37347c8b6bac3eeee443

See more details on using hashes here.

File details

Details for the file backtest-0.7.4-py3-none-any.whl.

File metadata

  • Download URL: backtest-0.7.4-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

File hashes

Hashes for backtest-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1fbf22453b34ba9777e4df4340df41940133bd996b561bbce55e18e4419eec98
MD5 13d857bf3ee1a2cb6fab0045025c6964
BLAKE2b-256 4af3eb78393c3c2536646c626f126e6e69eebf841785b19a2cf1133fc302b7bb

See more details on using hashes here.

Supported by

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