[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64134] [PATCH 06/17] gnu: Add python-bt.
From: |
Vinicius Monego |
Subject: |
[bug#64134] [PATCH 06/17] gnu: Add python-bt. |
Date: |
Sat, 17 Jun 2023 15:18:29 +0000 |
* gnu/packages/finance.scm (python-bt): New variable.
---
gnu/packages/finance.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 94f7b2111f..23071828ff 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1130,6 +1130,45 @@ (define-public python-ffn
data transformations.")
(license license:expat)))
+(define-public python-bt
+ (package
+ (name "python-bt")
+ (version "0.2.9")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference ;; no tests in PyPI
+ (url "https://github.com/pmorissette/bt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0m5gh3s79pbg4f0si0ilxg4zrcm7xrb5wj8j205c6hpa88ybjrm7"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-ffn python-pyprind))
+ (native-inputs (list python-black
+ python-codecov
+ python-coverage
+ python-cython
+ python-ffn
+ python-flake8
+ python-future
+ python-matplotlib
+ python-mock
+ python-nose
+ python-numpy
+ python-pandas
+ python-pyprind))
+ (home-page "https://github.com/pmorissette/bt")
+ (synopsis "Backtesting framework for Python")
+ (description
+ "@code{bt} is a flexible backtesting framework for Python used to test
+quantitative trading strategies. Backtesting is the process of testing a
+strategy over a given data set. This framework allows you to easily create
+strategies that mix and match different Algos. It aims to foster the
+ creation of easily testable, re-usable and flexible blocks of strategy
+ logic to facilitate the rapid development of complex trading strategies.")
+ (license license:expat)))
+
(define-public python-u2flib-host
;; The package is obsolete and superseded by python-fido2, but
;; needed for python-ledgerblue@0.1.44.
--
2.34.1
- [bug#64134] [PATCH 00/17] Add some Python financial libraries., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 01/17] gnu: Add python-holidays., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 02/17] gnu: Add python-multitasking., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 03/17] gnu: Add python-yfinance., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 09/17] gnu: Add python-arch., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 04/17] gnu: Add python-pandas-datareader., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 05/17] gnu: Add python-ffn., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 06/17] gnu: Add python-bt.,
Vinicius Monego <=
- [bug#64134] [PATCH 08/17] gnu: Add python-interface-meta., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 07/17] gnu: Add python-pyhdfe., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 10/17] gnu: Add python-alpha-vantage., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 11/17] gnu: Add python-ascii-magic., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 12/17] gnu: Add python-degiro-connector., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 13/17] gnu: Add python-detecta., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 14/17] gnu: Add python-financedatabase., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 15/17] gnu: Add python-mstarpy., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 16/17] gnu: Add python-pandas-ta., Vinicius Monego, 2023/06/17
- [bug#64134] [PATCH 17/17] gnu: Add python-vectorbt., Vinicius Monego, 2023/06/17