Skip to content
Snippets Groups Projects
Commit 4a8fb590 authored by Yuri Victorovich's avatar Yuri Victorovich
Browse files

finance/py-pandas-market-calendars: New port: Market and exchange trading calendars for pandas

parent 33e99ff5
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,7 @@
SUBDIR += py-investpy
SUBDIR += py-mplfinance
SUBDIR += py-ofxparse
SUBDIR += py-pandas-market-calendars
SUBDIR += py-pycoin
SUBDIR += py-python-bitcoinlib
SUBDIR += py-python-obelisk
......
PORTNAME= pandas-market-calendars
DISTVERSIONPREFIX= v
DISTVERSION= 4.1.2
CATEGORIES= finance python
#MASTER_SITES= CHEESESHOP # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Market and exchange trading calendars for pandas
WWW= https://github.com/rsheftel/pandas_market_calendars
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}exchange-calendars>=3.3:finance/py-exchange-calendars@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>=1.1:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python:3.8+
USE_PYTHON= distutils autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= rsheftel
GH_PROJECT= ${PORTNAME:S/-/_/g}
NO_ARCH= yes
.include <bsd.port.mk>
TIMESTAMP = 1672016958
SHA256 (rsheftel-pandas_market_calendars-v4.1.2_GH0.tar.gz) = f83ba62c8839130b103cad34e5de03074f8c1518afa944eebe9fbe755122d6bc
SIZE (rsheftel-pandas_market_calendars-v4.1.2_GH0.tar.gz) = 209465
The Pandas package is widely used in finance and specifically for time series
analysis. It includes excellent functionality for generating sequences of dates
and capabilities for custom holiday calendars, but as an explicit design choice
it does not include the actual holiday calendars for specific exchanges or OTC
markets.
The pandas_market_calendars package looks to fill that role with the holiday,
late open and early close calendars for specific exchanges and OTC conventions.
pandas_market_calendars also adds several functions to manipulate the market
calendars and includes a date_range function to create a pandas DatetimeIndex
including only the datetimes when the markets are open. Additionally the package
contains product specific calendars for future exchanges which have different
market open, closes, breaks and holidays based on product type.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment