finance/py-ta-lib 0.7.1 FreeBSD
Python wrapper for TA-Lib (Technical Analysis Library)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
11380e4b7a- License
- BSD2CLAUSE
- Categories
- finance, python
- Package size
- 500.4 KiB, 6798.7 KiB installed
Description
This is a Python wrapper for TA-LIB based on Cython instead of SWIG. From the homepage:
TA-Lib is widely used by trading software developers requiring to perform technical analysis of financial market data.
- Includes 150+ indicators such as ADX, MACD, RSI, Stochastic, Bollinger Bands, etc.
- Candlestick pattern recognition
- Open-source API for C/C++, Java, Perl, Python and 100% Managed .NET
The original Python bindings included with TA-Lib use SWIG which unfortunately are difficult to install and aren't as efficient as they could be. Therefore this project uses Cython and Numpy to efficiently and cleanly bind to TA-Lib -- producing results 2-4 times faster than the SWIG interface.
In addition, this project also supports the use of the Polars and Pandas libraries.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | finance/py-ta-lib | 0.7.1 |
| DragonFly | finance/py-ta-lib | 0.4.32_1 |
Install
Binary package:
pkg install py312-ta-lib
From the ports tree:
cd /usr/ports/finance/py-ta-lib/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-ta-lib>0:finance/py-ta-lib
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 | 0.7.1 | 0.7.1 | - | 0.4.32_1 | 0.7.1 |
| FreeBSD:14:quarterly | 0.7.1 | 0.7.1 | n/a | 0.4.32_1 | 0.7.1 |
| FreeBSD:15:latest | 0.7.1 | 0.7.1 | n/a | 0.4.32_1 | 0.4.32_1 |
| FreeBSD:15:quarterly | 0.7.1 | 0.7.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.7.1 | 0.7.1 | 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 1
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy
Library 1
libta-lib.so: devel/ta-lib
Runtime 1
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy
Test 1
${PYTHON_PKGNAMEPREFIX}polars>0: misc/py-polars
The full lists below include those, and their dependencies in turn.
Build dependencies 20
Run dependencies 17
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| TA-Lib-ta-lib-python-v0.7.1_GH0.tar.gz | 456397 | 732decec9f46f666f36ac55a9d46099bf8ac367dd6ae21cc376d7f4dcea156ed |