finance/py-pandas-ta: New port: Market Technical Analysis indicators in Python and Pandas

This commit is contained in:
Yuri Victorovich 2022-12-25 22:12:44 -08:00
parent ec15c3d4da
commit 423285aa50
4 changed files with 43 additions and 0 deletions

View File

@ -111,6 +111,7 @@
SUBDIR += py-mplfinance
SUBDIR += py-ofxparse
SUBDIR += py-pandas-market-calendars
SUBDIR += py-pandas-ta
SUBDIR += py-pycoin
SUBDIR += py-python-bitcoinlib
SUBDIR += py-python-obelisk

View File

@ -0,0 +1,32 @@
PORTNAME= pandas-ta
DISTVERSION= 0.3.14
CATEGORIES= finance python
#MASTER_SITES= CHEESESHOP # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Market Technical Analysis indicators in Python and Pandas
WWW= https://twopirllc.github.io/pandas-ta/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pandas>=1.2.0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=2021.1:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}TA-Lib>0:finance/py-TA-Lib@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/twopirllc/pandas-ta/issues/631
USE_GITHUB= yes
GH_ACCOUNT= twopirllc
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1672029264
SHA256 (twopirllc-pandas-ta-0.3.14_GH0.tar.gz) = 7f6e22d30b363711865c6d4a314e4b9cff475c3e5cd3c5d31435f9041e2fb27c
SIZE (twopirllc-pandas-ta-0.3.14_GH0.tar.gz) = 3057395

View File

@ -0,0 +1,7 @@
Pandas Technical Analysis (Pandas TA) is an easy to use library that leverages
the Pandas package with more than 130 Indicators and Utility functions and more
than 60 TA Lib Candlestick Patterns. Many commonly used indicators are included,
such as: Candle Pattern(cdl_pattern), Simple Moving Average (sma) Moving Average
Convergence Divergence (macd), Hull Exponential Moving Average (hma), Bollinger
Bands (bbands), On-Balance Volume (obv), Aroon & Aroon Oscillator (aroon),
Squeeze (squeeze) and many more.