diff --git a/finance/Makefile b/finance/Makefile index e595d128ce5e..838e79161ddc 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -1,137 +1,138 @@ COMMENT = Monetary, financial, and related applications SUBDIR += R-cran-AER SUBDIR += R-cran-PerformanceAnalytics SUBDIR += R-cran-RFinanceYJ SUBDIR += R-cran-TTR SUBDIR += R-cran-ccgarch SUBDIR += R-cran-fBasics SUBDIR += R-cran-fGarch SUBDIR += R-cran-gmm SUBDIR += R-cran-lmtest SUBDIR += R-cran-plm SUBDIR += R-cran-quantmod SUBDIR += R-cran-strucchange SUBDIR += R-cran-timeDate SUBDIR += R-cran-timeSeries SUBDIR += R-cran-tseries SUBDIR += R-cran-urca SUBDIR += R-cran-vars SUBDIR += alkimia SUBDIR += aqbanking SUBDIR += beancount SUBDIR += beanie SUBDIR += chiapos SUBDIR += cointop SUBDIR += electrum SUBDIR += expense SUBDIR += fava SUBDIR += fixc SUBDIR += frontaccounting SUBDIR += gnucash SUBDIR += gnucash-docs SUBDIR += grisbi SUBDIR += homebank SUBDIR += hs-hledger SUBDIR += hs-hledger-ui SUBDIR += hs-hledger-web SUBDIR += jgnash SUBDIR += kmymoney SUBDIR += kraft SUBDIR += ktoblzcheck SUBDIR += ledger SUBDIR += ledgersmb12 SUBDIR += libbtc SUBDIR += libofx SUBDIR += libstocks SUBDIR += moneymanagerex SUBDIR += myphpmoney SUBDIR += nextcloud-cospend SUBDIR += odoo SUBDIR += odoo14 SUBDIR += odoo15 SUBDIR += p5-Business-CreditCard SUBDIR += p5-Business-MaxMind-CreditCardFraudDetection SUBDIR += p5-Business-OCV SUBDIR += p5-Business-OnlinePayment SUBDIR += p5-Business-OnlinePayment-2CheckOut SUBDIR += p5-Business-OnlinePayment-AuthorizeNet SUBDIR += p5-Business-OnlinePayment-BankOfAmerica SUBDIR += p5-Business-OnlinePayment-Beanstream SUBDIR += p5-Business-OnlinePayment-Cardstream SUBDIR += p5-Business-OnlinePayment-Jettis SUBDIR += p5-Business-OnlinePayment-LinkPoint SUBDIR += p5-Business-OnlinePayment-MerchantCommerce SUBDIR += p5-Business-OnlinePayment-Network1Financial SUBDIR += p5-Business-OnlinePayment-OCV SUBDIR += p5-Business-OnlinePayment-PayConnect SUBDIR += p5-Business-OnlinePayment-PaymenTech SUBDIR += p5-Business-OnlinePayment-PaymentsGateway SUBDIR += p5-Business-OnlinePayment-SurePay SUBDIR += p5-Business-OnlinePayment-TCLink SUBDIR += p5-Business-OnlinePayment-VirtualNet SUBDIR += p5-Business-OnlinePayment-eSec SUBDIR += p5-Business-OnlinePayment-iAuthorizer SUBDIR += p5-Business-PayPal-IPN SUBDIR += p5-Business-Stripe SUBDIR += p5-Business-TW-Invoice-U420 SUBDIR += p5-Business-TW-TSIB-CStorePayment SUBDIR += p5-Business-TW-TSIB-VirtualAccount SUBDIR += p5-Business-WorldPay-Junior SUBDIR += p5-Data-Currency SUBDIR += p5-Finance-Amortization SUBDIR += p5-Finance-Bitcoin SUBDIR += p5-Finance-Currency-Convert SUBDIR += p5-Finance-Currency-Convert-WebserviceX SUBDIR += p5-Finance-Currency-Convert-XE SUBDIR += p5-Finance-Quote SUBDIR += p5-Finance-QuoteHist SUBDIR += p5-Finance-QuoteTW SUBDIR += p5-Finance-TW-EmergingQuote SUBDIR += p5-Finance-TW-TSEQuote SUBDIR += p5-Finance-YahooQuote SUBDIR += p5-Locale-Currency-Format SUBDIR += p5-Math-Financial SUBDIR += p5-PayflowPro SUBDIR += pear_Payment_DTA SUBDIR += prestashop SUBDIR += py-Nasdaq-Data-Link SUBDIR += py-TA-Lib + SUBDIR += py-alpha-vantage SUBDIR += py-backtrader SUBDIR += py-bitcoin SUBDIR += py-ebaysdk SUBDIR += py-exchange-calendars SUBDIR += py-financedatabase SUBDIR += py-finnhub-python SUBDIR += py-finviz SUBDIR += py-finvizfinance SUBDIR += py-fundamentalanalysis SUBDIR += py-investiny SUBDIR += py-investpy 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 SUBDIR += py-quantecon SUBDIR += py-stripe SUBDIR += py-ta-lib SUBDIR += py-vatnumber SUBDIR += py-yfinance SUBDIR += py-ystockquote SUBDIR += qtbitcointrader SUBDIR += quantlib SUBDIR += quickfix SUBDIR += rubygem-money SUBDIR += skrooge SUBDIR += sql-ledger SUBDIR += ticker SUBDIR += tickrs SUBDIR += vanitygen SUBDIR += venice SUBDIR += weberp SUBDIR += xtrader .include diff --git a/finance/py-alpha-vantage/Makefile b/finance/py-alpha-vantage/Makefile new file mode 100644 index 000000000000..b0180deb36c6 --- /dev/null +++ b/finance/py-alpha-vantage/Makefile @@ -0,0 +1,31 @@ +PORTNAME= alpha-vantage +DISTVERSION= 2.3.1 +CATEGORIES= finance python +#MASTER_SITES= CHEESESHOP # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Module to get stock data from the Alpha Vantage Api +WWW= https://github.com/RomelTorres/alpha_vantage + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.8+ +USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.com/RomelTorres/alpha_vantage/issues/340 + +USE_GITHUB= yes +GH_ACCOUNT= RomelTorres +GH_PROJECT= alpha_vantage + +NO_ARCH= yes + +TEST_WRLSRC= ${WRKSRC}/test_alpha_vantage + +.include diff --git a/finance/py-alpha-vantage/distinfo b/finance/py-alpha-vantage/distinfo new file mode 100644 index 000000000000..ff3e7f22d27a --- /dev/null +++ b/finance/py-alpha-vantage/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672084829 +SHA256 (RomelTorres-alpha_vantage-2.3.1_GH0.tar.gz) = ceb46b8bfbba441f85d48b32649c7308280760bf970188707ba9248705dbeba7 +SIZE (RomelTorres-alpha_vantage-2.3.1_GH0.tar.gz) = 557043 diff --git a/finance/py-alpha-vantage/pkg-descr b/finance/py-alpha-vantage/pkg-descr new file mode 100644 index 000000000000..986b0548cbad --- /dev/null +++ b/finance/py-alpha-vantage/pkg-descr @@ -0,0 +1,8 @@ +alpha-vantage is a Python module to get stock data/cryptocurrencies from the +Alpha Vantage API. + +Alpha Vantage delivers a free API for real time financial data and most used +finance indicators in a simple json or pandas format. This module implements +a python interface to the free API provided by Alpha Vantage. It requires a +free API key, that can be requested from +http://www.alphavantage.co/support/#api-key.