notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
py-bt Flexible backtesting framework to test quantitative trading strategies
1.1.0_1 finance on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.1.0Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-12-27 02:39:35
Last Update: 2025-03-08 04:05:21
Commit Hash: 06a08e6
People watching this port, also watch:: autoconf, ta-lib, weberp, prestashop, irrlicht
Also Listed In: python
License: MIT
WWW:
http://pmorissette.github.io/bt/
https://github.com/pmorissette/bt
Description:
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. The goal: to save quants from re-inventing the wheel and let them focus on the important part of the job - strategy development. bt is coded in Python and joins a vibrant and rich ecosystem for data analysis. Numerous libraries exist for machine learning, signal processing and statistics and can be leveraged to avoid re-inventing the wheel - something that happens all too often when using other languages that don't have the same wealth of high-quality, open-source projects.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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}bt>0:finance/py-bt@${PY_FLAVOR}
To install the port:
cd /usr/ports/finance/py-bt/ && make install clean
To add the package, run one of these commands:
  • pkg install finance/py-bt
  • pkg install py311-bt
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 py311-bt listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-bt
Package flavors (<flavor>: <package>)
  • py311: py311-bt
distinfo:
TIMESTAMP = 1723003170 SHA256 (pmorissette-bt-v1.1.0_GH0.tar.gz) = 5f1a30e3f5cd4d20803213b1f38a4c0189e04f58d88f5f5118e03f957564442d SIZE (pmorissette-bt-v1.1.0_GH0.tar.gz) = 9948499

Packages (timestamps in pop-ups are UTC):
py39-bt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------1.0.0-
FreeBSD:14:latest--------
FreeBSD:14:quarterly------1.0.0-
FreeBSD:15:latest--n/a-n/a-1.0.0-
 

py311-bt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.0_11.1.0_1--1.1.0_1---
FreeBSD:13:quarterly1.1.01.1.0_1-1.1.01.1.0_1---
FreeBSD:14:latest1.1.0_11.1.0_1--1.1.0_1---
FreeBSD:14:quarterly1.1.01.1.0_1-1.1.01.1.0_1---
FreeBSD:15:latest1.1.0_11.1.0_1n/a1.1.0_1n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cython-3.11 : lang/cython@py311
  2. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  3. python3.11 : lang/python311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-ffn>=1.1.0 : finance/py-ffn@py311
  2. py311-pyprind>=2.11 : misc/py-pyprind@py311
  3. py311-tqdm>=4 : misc/py-tqdm@py311
  4. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
finance_py-bt
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/pmorissette/bt/tar.gz/v1.1.0?dummy=/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1.0_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
1.1.0
03 Nov 2024 06:54:54
commit hash: 1d956630027a80b061da7e1bd0f975eb764f0826commit hash: 1d956630027a80b061da7e1bd0f975eb764f0826commit hash: 1d956630027a80b061da7e1bd0f975eb764f0826commit hash: 1d956630027a80b061da7e1bd0f975eb764f0826 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: Update WWW
1.1.0
07 Aug 2024 17:06:20
commit hash: d4a4ba307095d15020beed6daca8b0beef86b080commit hash: d4a4ba307095d15020beed6daca8b0beef86b080commit hash: d4a4ba307095d15020beed6daca8b0beef86b080commit hash: d4a4ba307095d15020beed6daca8b0beef86b080 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: update 1.0.1 → 1.1.0

Reported by:	portscout
1.0.1
24 Jun 2024 07:49:04
commit hash: 5c745683f3b8e05a42f679cee4affa96c36c0215commit hash: 5c745683f3b8e05a42f679cee4affa96c36c0215commit hash: 5c745683f3b8e05a42f679cee4affa96c36c0215commit hash: 5c745683f3b8e05a42f679cee4affa96c36c0215 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: update 1.0.0 → 1.0.1

Reported by:	portscout
1.0.0
20 Jan 2024 05:20:54
commit hash: acac165e2ada15432d3e3b485a2587e32e1af71dcommit hash: acac165e2ada15432d3e3b485a2587e32e1af71dcommit hash: acac165e2ada15432d3e3b485a2587e32e1af71dcommit hash: acac165e2ada15432d3e3b485a2587e32e1af71d files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: Add missing cython dependency

One dependency port was providing cython as a run-time dependency by mistake,
until this was recently fixed and exposed this build failure.

Reported by:	fallout
1.0.0
20 Dec 2023 17:53:55
commit hash: e8ed82fdb6c9a94f0eb37f8a1daad131e40ce42fcommit hash: e8ed82fdb6c9a94f0eb37f8a1daad131e40ce42fcommit hash: e8ed82fdb6c9a94f0eb37f8a1daad131e40ce42fcommit hash: e8ed82fdb6c9a94f0eb37f8a1daad131e40ce42f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: update 0.2.9 → 1.0.0

Reported by:	portscout
0.2.9_1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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>
0.2.9_1
23 Apr 2023 09:09:58
commit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5b files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
0.2.9
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
0.2.9
27 Dec 2022 02:38:42
commit hash: 808d0facae4791f940f479a6bbb86f1df3a41d3dcommit hash: 808d0facae4791f940f479a6bbb86f1df3a41d3dcommit hash: 808d0facae4791f940f479a6bbb86f1df3a41d3dcommit hash: 808d0facae4791f940f479a6bbb86f1df3a41d3d files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: New port: Flexible backtesting framework to test quantitative
trading strategies

Number of commits found: 10