Unverified Commit 9928d523 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

python3Packages.backtesting: init at 0.6.3 (#388260)

parents 61a4b23a 2001d936
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1859,6 +1859,12 @@
    name = "Austin Lund";
    keys = [ { fingerprint = "7083 E268 4BFD 845F 2B84  9E74 B695 8918 ED23 32CE"; } ];
  };
  appleboblin = {
    email = "github@appleboblin.com";
    github = "appleboblin";
    githubId = 16847957;
    name = "Po-Hui Lin";
  };
  applejag = {
    email = "applejag.luminance905@passmail.com";
    github = "applejag";
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  setuptools-scm,
  setuptools-git,
  numpy,
  pandas,
  bokeh,
}:

buildPythonPackage rec {
  pname = "backtesting";
  version = "0.6.3";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-xryzvjKT+FRbF4pnniHvkRA98jrZVoCyYOmjYU93Ta4=";
  };

  build-system = [
    setuptools
    setuptools-scm
    setuptools-git
  ];

  dependencies = [
    numpy
    pandas
    bokeh
  ];

  # No tests
  doCheck = false;

  meta = {
    description = "Backtest trading strategies in Python";
    homepage = "https://kernc.github.io/backtesting.py/";
    changelog = "https://github.com/kernc/backtesting.py/blob/${version}/CHANGELOG.md";
    license = lib.licenses.agpl3Only;
    maintainers = with lib.maintainers; [ appleboblin ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1602,6 +1602,8 @@ self: super: with self; {
  backports-tarfile = callPackage ../development/python-modules/backports-tarfile { };
  backtesting = callPackage ../development/python-modules/backtesting { };
  bacpypes = callPackage ../development/python-modules/bacpypes { };
  bagit = callPackage ../development/python-modules/bagit { };