finance/py-TA-Lib: New port: Python wrapper for TA-LIB based on Cython
This commit is contained in:
parent
32928d2f75
commit
b63fed6cf6
@ -96,6 +96,7 @@
|
||||
SUBDIR += pear_Payment_DTA
|
||||
SUBDIR += prestashop
|
||||
SUBDIR += py-Nasdaq-Data-Link
|
||||
SUBDIR += py-TA-Lib
|
||||
SUBDIR += py-backtrader
|
||||
SUBDIR += py-bitcoin
|
||||
SUBDIR += py-ebaysdk
|
||||
|
28
finance/py-TA-Lib/Makefile
Normal file
28
finance/py-TA-Lib/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
PORTNAME= TA-Lib # provides Python namespace 'talib'
|
||||
DISTVERSION= 0.4.25
|
||||
CATEGORIES= finance python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Python wrapper for TA-LIB based on Cython
|
||||
WWW= https://mrjbq7.github.io/ta-lib/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYNUMPY}
|
||||
LIB_DEPENDS= libta_lib.so:devel/ta-lib
|
||||
RUN_DEPENDS= ${PYNUMPY}
|
||||
#TEST_DEPENDS= misc/py-polars - fails to build, see https://github.com/rust-lang/hashbrown/issues/377
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils cython autoplist pytest
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
TEST_WRKSRC= ${WRKSRC}/talib
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/talib/_ta_lib${PYTHON_EXT_SUFFIX}.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
finance/py-TA-Lib/distinfo
Normal file
3
finance/py-TA-Lib/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1672030248
|
||||
SHA256 (TA-Lib-0.4.25.tar.gz) = 6c51c09fcc138367483bcce6db81329ae6851e6ca1a8ac1e50732e443d15602b
|
||||
SIZE (TA-Lib-0.4.25.tar.gz) = 271960
|
8
finance/py-TA-Lib/pkg-descr
Normal file
8
finance/py-TA-Lib/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
Python-TA-Lib is a Python wrapper for TA-LIB based on Cython instead of SWIG.
|
||||
|
||||
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
|
Loading…
Reference in New Issue
Block a user