diff --git a/finance/Makefile b/finance/Makefile index d25938f7d402..a307eb77d3cb 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -1,140 +1,141 @@ 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-bt + SUBDIR += py-ccxt SUBDIR += py-ebaysdk SUBDIR += py-exchange-calendars SUBDIR += py-ffn 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-ccxt/Makefile b/finance/py-ccxt/Makefile new file mode 100644 index 000000000000..9f911fc6c15f --- /dev/null +++ b/finance/py-ccxt/Makefile @@ -0,0 +1,30 @@ +PORTNAME= ccxt +DISTVERSION= 2.4.60 +CATEGORIES= finance python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Cryptocurrency trading API with support for 100+ exchanges +WWW= https://github.com/ccxt/ccxt + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2018.1.18:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6.1:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.18.4:www/py-requests@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist pytest # 2 tests fail, see https://github.com/ccxt/ccxt/issues/16221 + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +post-extract: # workaround for https://github.com/ccxt/ccxt/issues/16220 + @${TOUCH} ${WRKSRC}/README.md + +.include diff --git a/finance/py-ccxt/distinfo b/finance/py-ccxt/distinfo new file mode 100644 index 000000000000..6cfff598e2b4 --- /dev/null +++ b/finance/py-ccxt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672109046 +SHA256 (ccxt-2.4.60.tar.gz) = a4a4b6520d5b940d0532675642d9a73479c3d0e5e2edf9e3e1f245aab753e9bb +SIZE (ccxt-2.4.60.tar.gz) = 3123924 diff --git a/finance/py-ccxt/pkg-descr b/finance/py-ccxt/pkg-descr new file mode 100644 index 000000000000..c64fb0dfb517 --- /dev/null +++ b/finance/py-ccxt/pkg-descr @@ -0,0 +1,15 @@ +The CCXT library is used to connect and trade with cryptocurrency exchanges and +payment processing services worldwide. It provides quick access to market data +for storage, analysis, visualization, indicator development, algorithmic +trading, strategy backtesting, bot programming, and related software +engineering. + +It is intended to be used by coders, developers, technically-skilled traders, +data-scientists and financial analysts for building trading algorithms. + +Current feature list: +* support for many cryptocurrency exchanges - more coming soon +* fully implemented public and private APIs +* optional normalized data for cross-exchange analytics and arbitrage +* an out of the box unified API that is extremely easy to integrate +* works in Node 10.4+, Python 3, PHP 7.0+, and web browsers