finance/py-bt 1.4.1 FreeBSD
Flexible backtesting framework to test quantitative trading strategies
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
26086dc253- License
- MIT
- Categories
- finance, python
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | finance/py-bt | 1.4.1 |
| DragonFly | finance/py-bt | 1.1.0_1 |
Install
Binary package:
pkg install py312-bt
From the ports tree:
cd /usr/ports/finance/py-bt/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-bt>0:finance/py-bt
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 1.2.0 | - | 1.1.2 | 1.2.0 |
| FreeBSD:14:quarterly | - | 1.2.0 | n/a | 1.1.2 | - |
| FreeBSD:15:latest | - | 1.2.0 | n/a | 1.1.2 | 1.1.2 |
| FreeBSD:15:quarterly | - | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatch-cython>0: devel/py-hatch-cython${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Runtime 3
${PYTHON_PKGNAMEPREFIX}ffn>=1.1.2: finance/py-ffn${PYTHON_PKGNAMEPREFIX}pyprind>=2.11: misc/py-pyprind${PYTHON_PKGNAMEPREFIX}tqdm>=4: misc/py-tqdm
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-cython
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-trove-classifiers
- devel/readline
- lang/cython
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 100
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/py-brotli
- archivers/py-zopfli
- archivers/zopfli
- archivers/zstd
- converters/fribidi
- converters/libiconv
- databases/py-sqlite3
- databases/sqlite3
- devel/binutils
- devel/gettext-runtime
- devel/glib20
- devel/libedit
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-cloudpickle
- devel/py-cycler
- devel/py-decorator
- devel/py-joblib
- devel/py-lxml
- devel/py-olefile
- devel/py-packaging
- devel/py-pyparsing
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-six
- devel/py-tabulate
- devel/py-threadpoolctl
- devel/py-tzdata
- devel/py-unicodedata2
- devel/py-wcwidth
- devel/readline
- finance/py-ffn
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libimagequant
- graphics/libyuv
- graphics/openjpeg
- graphics/png
- graphics/py-pillow
- graphics/tiff
- graphics/webp
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-bottleneck
- math/py-contourpy
- math/py-kiwisolver
- math/py-matplotlib
- math/py-narwhals
- math/py-numexpr
- math/py-numpy
- math/py-pandas
- math/qhull
- misc/py-pyprind
- misc/py-tqdm
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/vmaf
- print/freetype2
- print/harfbuzz
- print/indexinfo
- print/libraqm
- print/py-fonttools
- science/py-scikit-learn
- science/py-scipy
- security/libgcrypt
- security/libgpg-error
- textproc/expat2
- textproc/libxml2
- textproc/libxslt
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/py-tkinter
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pmorissette-bt-v1.4.1_GH0.tar.gz | 9.164898e+06 | bdfee62616f8e38f78a41e7b6d287e2484e7fb373148fb31499739b92591c46e |