[NEW PORT] finance/py-backtrader: Python Backtesting library for trading strategies
A feature-rich Python framework for backtesting and trading. backtrader allows you to focus on writing reusable trading strategies, indicators and analyzers instead of having to spend time building infrastructure. WWW: https://www.backtrader.com/ WWW: https://github.com/backtrader/backtrader PR: 238572 Submitted by: <m.tsatsenko gmail com>
This commit is contained in:
@@ -92,6 +92,7 @@
|
||||
SUBDIR += p5-PayflowPro
|
||||
SUBDIR += pear_Payment_DTA
|
||||
SUBDIR += prestashop
|
||||
SUBDIR += py-backtrader
|
||||
SUBDIR += py-bitcoin
|
||||
SUBDIR += py-pycoin
|
||||
SUBDIR += py-python-bitcoinlib
|
||||
|
||||
32
finance/py-backtrader/Makefile
Normal file
32
finance/py-backtrader/Makefile
Normal file
@@ -0,0 +1,32 @@
|
||||
# Created by: Mikhail T. <m.tsatsenko@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= backtrader
|
||||
PORTVERSION= 1.9.74.123
|
||||
CATEGORIES= finance python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= m.tsatsenko@gmail.com
|
||||
COMMENT= Python Backtesting library for trading strategies
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_GITHUB= yes # Does not distribute sdist via PyPI
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
OPTIONS_DEFINE= PLOTTING
|
||||
|
||||
PLOTTING_DESC= Support graphical plotting output
|
||||
|
||||
PLOTTING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v tests
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
finance/py-backtrader/distinfo
Normal file
3
finance/py-backtrader/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1560584331
|
||||
SHA256 (backtrader-backtrader-1.9.74.123_GH0.tar.gz) = a8467a2279697c190b35afd6e4826329ababb0ac7a5d73e12eca80559e1ced6d
|
||||
SIZE (backtrader-backtrader-1.9.74.123_GH0.tar.gz) = 2175081
|
||||
8
finance/py-backtrader/pkg-descr
Normal file
8
finance/py-backtrader/pkg-descr
Normal file
@@ -0,0 +1,8 @@
|
||||
A feature-rich Python framework for backtesting and trading.
|
||||
|
||||
backtrader allows you to focus on writing reusable trading strategies,
|
||||
indicators and analyzers instead of having to spend time building
|
||||
infrastructure.
|
||||
|
||||
WWW: https://www.backtrader.com/
|
||||
WWW: https://github.com/backtrader/backtrader
|
||||
Reference in New Issue
Block a user