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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-bt Flexible backtesting framework to test quantitative trading strategies
1.2.0 finance on this many watch lists=1 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.4Version 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: 2026-04-26 09:34:12
Commit Hash: 472619d
People watching this port, also watch:: tmux, libjxl, tcpdump, vigenere
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found 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 = 1777190503 SHA256 (pmorissette-bt-v1.2.0_GH0.tar.gz) = 9e8c1ddd16bc093d36a75542e33ecf15c135eca64a98a974966319f812946bb1 SIZE (pmorissette-bt-v1.2.0_GH0.tar.gz) = 10075641

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

py311-bt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.41.2.0-1.1.2_11.2.0n/an/an/a
FreeBSD:13:quarterly1.1.41.1.4-1.1.21.1.4n/an/an/a
FreeBSD:14:latest1.2.01.2.0-1.1.21.2.0---
FreeBSD:14:quarterly1.1.41.1.4-1.1.21.1.4---
FreeBSD:15:latest1.2.01.2.0n/a1.1.2n/an/a--
FreeBSD:15:quarterly1.1.41.1.4n/a-n/an/a--
FreeBSD:16:latest1.1.41.2.0n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-cython>=3.2.4 : 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.2 : 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.2.0?dummy=/
Collapse this list.

Number of commits found: 16

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.0
26 Apr 2026 09:34:12
commit hash: 472619d4d92dda01f49839388863e45b05285672commit hash: 472619d4d92dda01f49839388863e45b05285672commit hash: 472619d4d92dda01f49839388863e45b05285672commit hash: 472619d4d92dda01f49839388863e45b05285672 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: update 1.1.4 → 1.2.0
1.1.4
13 Mar 2026 07:33:42
commit hash: e9120cac3373c76468b2c80b8d9e0ed47c55fda9commit hash: e9120cac3373c76468b2c80b8d9e0ed47c55fda9commit hash: e9120cac3373c76468b2c80b8d9e0ed47c55fda9commit hash: e9120cac3373c76468b2c80b8d9e0ed47c55fda9 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: update 1.1.3 → 1.1.4
1.1.3
28 Feb 2026 17:38:38
commit hash: c2cf8c19e605c452f0369369983e6e2dcf69dcc4commit hash: c2cf8c19e605c452f0369369983e6e2dcf69dcc4commit hash: c2cf8c19e605c452f0369369983e6e2dcf69dcc4commit hash: c2cf8c19e605c452f0369369983e6e2dcf69dcc4 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: update 1.1.2 → 1.1.3

Reported by:	portscout
1.1.2_1
31 Aug 2025 10:30:51
commit hash: b304d8ab18ac96ddcd15f3cf7255ef89aababe5acommit hash: b304d8ab18ac96ddcd15f3cf7255ef89aababe5acommit hash: b304d8ab18ac96ddcd15f3cf7255ef89aababe5acommit hash: b304d8ab18ac96ddcd15f3cf7255ef89aababe5a files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: bump PORTREVISION after updating graphics/libyuv

Using the Tools/scripts/bump_revision.pl script
1.1.2
19 Jun 2025 20:28:47
commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc

EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.

Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.1.2
13 Apr 2025 09:34:14
commit hash: 948ae8681f15ad777d7e706578064e03f36adc4ccommit hash: 948ae8681f15ad777d7e706578064e03f36adc4ccommit hash: 948ae8681f15ad777d7e706578064e03f36adc4ccommit hash: 948ae8681f15ad777d7e706578064e03f36adc4c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
finance/py-bt: update 1.1.0 → 1.1.2

Reported by:	portscout
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: 16