Port details |
- py-backtrader Python Backtesting library for trading strategies
- 1.9.74.123_1 finance =2 1.9.74.123_1Version of this port present on the latest quarterly branch.
- Maintainer: m.tsatsenko@gmail.com
- Port Added: 2019-06-24 03:17:14
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: GPLv3
- WWW:
- https://www.backtrader.com/
- Description:
- 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.
See also: https://github.com/backtrader/backtrader
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}backtrader>0:finance/py-backtrader@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/finance/py-backtrader/ && make install clean
- To add the package, run one of these commands:
- pkg install finance/py-backtrader
- pkg install py39-backtrader
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-backtrader listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-backtrader
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1560584331
SHA256 (backtrader-backtrader-1.9.74.123_GH0.tar.gz) = a8467a2279697c190b35afd6e4826329ababb0ac7a5d73e12eca80559e1ced6d
SIZE (backtrader-backtrader-1.9.74.123_GH0.tar.gz) = 2175081
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-nose>0 : devel/py-nose@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py39-backtrader-1.9.74.123_1:
PLOTTING=off: Support graphical plotting output
TALIB=off: ta-lib support via finance/py-ta-lib
===> Use 'make config' to modify these settings
- Options name:
- finance_py-backtrader
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.9.74.123_1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.9.74.123_1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.9.74.123_1 20 Jul 2022 14:21:51 |
Tobias C. Berner (tcberner) |
finance: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Anton Berezin <tobez@FreeBSD.org>
* Christopher Boumenot <boumenot@gmail.com>
* David Naylor <naylor.b.david@gmail.com>
* Dermot Tynan <dtynan@kalopa.com>
* Dorit Rottner (<rottner@punkt.de>)
* Emanuel Haupt <ehaupt@FreeBSD.org>
* Eric Freeman <freebsdports@chillibear.com>
* Glenn Johnson <glennpj@charter.net>
* James FitzGibbon <jfitz@FreeBSD.org>
* Janky Jay <ek@purplehat.org> (Only the first 15 lines of the commit message are shown above ) |
1.9.74.123_1 10 May 2021 20:13:20 |
Thierry Thomas (thierry) |
math/py-matplotlib: chase minimum Python version in dependent ports
Since the previous update changed USES=python from 3.6+ to 3.7+, all
dependent ports must have USES=python:3.7+ as well, otherwise it breaks
the @py36 flavor.
PR: 255347
Reported by: sunpoet |
1.9.74.123_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.9.74.123_1 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
1.9.74.123_1 06 Jul 2019 18:15:29 |
swills |
finance/py-backtrader: add ta-lib support
PR: 238972
Submitted by: m.tsatsenko@gmail.com (maintainer) |
1.9.74.123 24 Jun 2019 03:17:03 |
koobs |
[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> |