pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/py-backtrader finance/py-backtrad...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c46562ef5d7d
branches: trunk
changeset: 307743:c46562ef5d7d
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat May 12 22:06:53 2018 +0000
description:
finance/py-backtrader: Import version 1.9.58.122
Backtrader is a feature-rich Python framework for backtesting and
trading. It allows you to focus on writing reusable trading
strategies, indicators and analyzers instead of having to spend time
building infrastructure.
diffstat:
finance/py-backtrader/DESCR | 4 +
finance/py-backtrader/Makefile | 27 ++
finance/py-backtrader/PLIST | 525 +++++++++++++++++++++++++++++++++++++++++
finance/py-backtrader/distinfo | 7 +
4 files changed, 563 insertions(+), 0 deletions(-)
diffs (truncated from 579 to 300 lines):
diff -r 9715e93c90db -r c46562ef5d7d finance/py-backtrader/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/py-backtrader/DESCR Sat May 12 22:06:53 2018 +0000
@@ -0,0 +1,4 @@
+Backtrader is a feature-rich Python framework for backtesting and
+trading. It allows you to focus on writing reusable trading
+strategies, indicators and analyzers instead of having to spend time
+building infrastructure.
diff -r 9715e93c90db -r c46562ef5d7d finance/py-backtrader/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/py-backtrader/Makefile Sat May 12 22:06:53 2018 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2018/05/12 22:06:53 minskim Exp $
+
+DISTNAME= backtrader-1.9.58.122
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= finance python
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mementum/}
+GITHUB_PROJECT= backtrader
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= minskim%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mementum/backtrader
+COMMENT= Python Backtesting library for trading strategies
+LICENSE= gnu-gpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
+DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
+DEPENDS+= ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
+
+.include "../../lang/python/egg.mk"
+
+post-install:
+.for f in bt-run.py btrun
+ ${MV} ${DESTDIR}${PREFIX}/bin/${f} \
+ ${DESTDIR}${PREFIX}/bin/${f}${PYVERSSUFFIX}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r 9715e93c90db -r c46562ef5d7d finance/py-backtrader/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/py-backtrader/PLIST Sat May 12 22:06:53 2018 +0000
@@ -0,0 +1,525 @@
+@comment $NetBSD: PLIST,v 1.1 2018/05/12 22:06:53 minskim Exp $
+bin/bt-run.py${PYVERSSUFFIX}
+bin/btrun${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/backtrader/__init__.py
+${PYSITELIB}/backtrader/__init__.pyo
+${PYSITELIB}/backtrader/__init__.pyc
+${PYSITELIB}/backtrader/analyzer.pyo
+${PYSITELIB}/backtrader/analyzer.pyc
+${PYSITELIB}/backtrader/broker.pyo
+${PYSITELIB}/backtrader/broker.pyc
+${PYSITELIB}/backtrader/cerebro.pyo
+${PYSITELIB}/backtrader/cerebro.pyc
+${PYSITELIB}/backtrader/comminfo.pyo
+${PYSITELIB}/backtrader/comminfo.pyc
+${PYSITELIB}/backtrader/datacache.pyo
+${PYSITELIB}/backtrader/datacache.pyc
+${PYSITELIB}/backtrader/dataseries.pyo
+${PYSITELIB}/backtrader/dataseries.pyc
+${PYSITELIB}/backtrader/errors.pyo
+${PYSITELIB}/backtrader/errors.pyc
+${PYSITELIB}/backtrader/feed.pyo
+${PYSITELIB}/backtrader/feed.pyc
+${PYSITELIB}/backtrader/fillers.pyo
+${PYSITELIB}/backtrader/fillers.pyc
+${PYSITELIB}/backtrader/flt.pyo
+${PYSITELIB}/backtrader/flt.pyc
+${PYSITELIB}/backtrader/functions.pyo
+${PYSITELIB}/backtrader/functions.pyc
+${PYSITELIB}/backtrader/indicator.pyo
+${PYSITELIB}/backtrader/indicator.pyc
+${PYSITELIB}/backtrader/linebuffer.pyo
+${PYSITELIB}/backtrader/linebuffer.pyc
+${PYSITELIB}/backtrader/lineiterator.pyo
+${PYSITELIB}/backtrader/lineiterator.pyc
+${PYSITELIB}/backtrader/lineroot.pyo
+${PYSITELIB}/backtrader/lineroot.pyc
+${PYSITELIB}/backtrader/lineseries.pyo
+${PYSITELIB}/backtrader/lineseries.pyc
+${PYSITELIB}/backtrader/mathsupport.pyo
+${PYSITELIB}/backtrader/mathsupport.pyc
+${PYSITELIB}/backtrader/metabase.pyo
+${PYSITELIB}/backtrader/metabase.pyc
+${PYSITELIB}/backtrader/observer.pyo
+${PYSITELIB}/backtrader/observer.pyc
+${PYSITELIB}/backtrader/order.pyo
+${PYSITELIB}/backtrader/order.pyc
+${PYSITELIB}/backtrader/position.pyo
+${PYSITELIB}/backtrader/position.pyc
+${PYSITELIB}/backtrader/resamplerfilter.pyo
+${PYSITELIB}/backtrader/resamplerfilter.pyc
+${PYSITELIB}/backtrader/signal.pyo
+${PYSITELIB}/backtrader/signal.pyc
+${PYSITELIB}/backtrader/sizer.pyo
+${PYSITELIB}/backtrader/sizer.pyc
+${PYSITELIB}/backtrader/store.pyo
+${PYSITELIB}/backtrader/store.pyc
+${PYSITELIB}/backtrader/strategy.pyo
+${PYSITELIB}/backtrader/strategy.pyc
+${PYSITELIB}/backtrader/talib.pyo
+${PYSITELIB}/backtrader/talib.pyc
+${PYSITELIB}/backtrader/timer.pyo
+${PYSITELIB}/backtrader/timer.pyc
+${PYSITELIB}/backtrader/trade.pyo
+${PYSITELIB}/backtrader/trade.pyc
+${PYSITELIB}/backtrader/tradingcal.pyo
+${PYSITELIB}/backtrader/tradingcal.pyc
+${PYSITELIB}/backtrader/version.pyo
+${PYSITELIB}/backtrader/version.pyc
+${PYSITELIB}/backtrader/writer.pyo
+${PYSITELIB}/backtrader/writer.pyc
+${PYSITELIB}/backtrader/analyzer.py
+${PYSITELIB}/backtrader/analyzers/__init__.py
+${PYSITELIB}/backtrader/analyzers/__init__.pyo
+${PYSITELIB}/backtrader/analyzers/__init__.pyc
+${PYSITELIB}/backtrader/analyzers/annualreturn.pyo
+${PYSITELIB}/backtrader/analyzers/annualreturn.pyc
+${PYSITELIB}/backtrader/analyzers/calmar.pyo
+${PYSITELIB}/backtrader/analyzers/calmar.pyc
+${PYSITELIB}/backtrader/analyzers/drawdown.pyo
+${PYSITELIB}/backtrader/analyzers/drawdown.pyc
+${PYSITELIB}/backtrader/analyzers/leverage.pyo
+${PYSITELIB}/backtrader/analyzers/leverage.pyc
+${PYSITELIB}/backtrader/analyzers/logreturnsrolling.pyo
+${PYSITELIB}/backtrader/analyzers/logreturnsrolling.pyc
+${PYSITELIB}/backtrader/analyzers/periodstats.pyo
+${PYSITELIB}/backtrader/analyzers/periodstats.pyc
+${PYSITELIB}/backtrader/analyzers/positions.pyo
+${PYSITELIB}/backtrader/analyzers/positions.pyc
+${PYSITELIB}/backtrader/analyzers/pyfolio.pyo
+${PYSITELIB}/backtrader/analyzers/pyfolio.pyc
+${PYSITELIB}/backtrader/analyzers/returns.pyo
+${PYSITELIB}/backtrader/analyzers/returns.pyc
+${PYSITELIB}/backtrader/analyzers/sharpe.pyo
+${PYSITELIB}/backtrader/analyzers/sharpe.pyc
+${PYSITELIB}/backtrader/analyzers/sqn.pyo
+${PYSITELIB}/backtrader/analyzers/sqn.pyc
+${PYSITELIB}/backtrader/analyzers/timereturn.pyo
+${PYSITELIB}/backtrader/analyzers/timereturn.pyc
+${PYSITELIB}/backtrader/analyzers/tradeanalyzer.pyo
+${PYSITELIB}/backtrader/analyzers/tradeanalyzer.pyc
+${PYSITELIB}/backtrader/analyzers/transactions.pyo
+${PYSITELIB}/backtrader/analyzers/transactions.pyc
+${PYSITELIB}/backtrader/analyzers/vwr.pyo
+${PYSITELIB}/backtrader/analyzers/vwr.pyc
+${PYSITELIB}/backtrader/analyzers/annualreturn.py
+${PYSITELIB}/backtrader/analyzers/calmar.py
+${PYSITELIB}/backtrader/analyzers/drawdown.py
+${PYSITELIB}/backtrader/analyzers/leverage.py
+${PYSITELIB}/backtrader/analyzers/logreturnsrolling.py
+${PYSITELIB}/backtrader/analyzers/periodstats.py
+${PYSITELIB}/backtrader/analyzers/positions.py
+${PYSITELIB}/backtrader/analyzers/pyfolio.py
+${PYSITELIB}/backtrader/analyzers/returns.py
+${PYSITELIB}/backtrader/analyzers/sharpe.py
+${PYSITELIB}/backtrader/analyzers/sqn.py
+${PYSITELIB}/backtrader/analyzers/timereturn.py
+${PYSITELIB}/backtrader/analyzers/tradeanalyzer.py
+${PYSITELIB}/backtrader/analyzers/transactions.py
+${PYSITELIB}/backtrader/analyzers/vwr.py
+${PYSITELIB}/backtrader/broker.py
+${PYSITELIB}/backtrader/brokers/__init__.py
+${PYSITELIB}/backtrader/brokers/__init__.pyo
+${PYSITELIB}/backtrader/brokers/__init__.pyc
+${PYSITELIB}/backtrader/brokers/bbroker.pyo
+${PYSITELIB}/backtrader/brokers/bbroker.pyc
+${PYSITELIB}/backtrader/brokers/ibbroker.pyo
+${PYSITELIB}/backtrader/brokers/ibbroker.pyc
+${PYSITELIB}/backtrader/brokers/oandabroker.pyo
+${PYSITELIB}/backtrader/brokers/oandabroker.pyc
+${PYSITELIB}/backtrader/brokers/vcbroker.pyo
+${PYSITELIB}/backtrader/brokers/vcbroker.pyc
+${PYSITELIB}/backtrader/brokers/bbroker.py
+${PYSITELIB}/backtrader/brokers/ibbroker.py
+${PYSITELIB}/backtrader/brokers/oandabroker.py
+${PYSITELIB}/backtrader/brokers/vcbroker.py
+${PYSITELIB}/backtrader/btrun/__init__.py
+${PYSITELIB}/backtrader/btrun/__init__.pyo
+${PYSITELIB}/backtrader/btrun/__init__.pyc
+${PYSITELIB}/backtrader/btrun/btrun.pyo
+${PYSITELIB}/backtrader/btrun/btrun.pyc
+${PYSITELIB}/backtrader/btrun/btrun.py
+${PYSITELIB}/backtrader/cerebro.py
+${PYSITELIB}/backtrader/comminfo.py
+${PYSITELIB}/backtrader/commissions/__init__.py
+${PYSITELIB}/backtrader/commissions/__init__.pyo
+${PYSITELIB}/backtrader/commissions/__init__.pyc
+${PYSITELIB}/backtrader/datacache.py
+${PYSITELIB}/backtrader/dataseries.py
+${PYSITELIB}/backtrader/errors.py
+${PYSITELIB}/backtrader/feed.py
+${PYSITELIB}/backtrader/feeds/__init__.py
+${PYSITELIB}/backtrader/feeds/__init__.pyo
+${PYSITELIB}/backtrader/feeds/__init__.pyc
+${PYSITELIB}/backtrader/feeds/blaze.pyo
+${PYSITELIB}/backtrader/feeds/blaze.pyc
+${PYSITELIB}/backtrader/feeds/btcsv.pyo
+${PYSITELIB}/backtrader/feeds/btcsv.pyc
+${PYSITELIB}/backtrader/feeds/chainer.pyo
+${PYSITELIB}/backtrader/feeds/chainer.pyc
+${PYSITELIB}/backtrader/feeds/csvgeneric.pyo
+${PYSITELIB}/backtrader/feeds/csvgeneric.pyc
+${PYSITELIB}/backtrader/feeds/ibdata.pyo
+${PYSITELIB}/backtrader/feeds/ibdata.pyc
+${PYSITELIB}/backtrader/feeds/influxfeed.pyo
+${PYSITELIB}/backtrader/feeds/influxfeed.pyc
+${PYSITELIB}/backtrader/feeds/mt4csv.pyo
+${PYSITELIB}/backtrader/feeds/mt4csv.pyc
+${PYSITELIB}/backtrader/feeds/oanda.pyo
+${PYSITELIB}/backtrader/feeds/oanda.pyc
+${PYSITELIB}/backtrader/feeds/pandafeed.pyo
+${PYSITELIB}/backtrader/feeds/pandafeed.pyc
+${PYSITELIB}/backtrader/feeds/quandl.pyo
+${PYSITELIB}/backtrader/feeds/quandl.pyc
+${PYSITELIB}/backtrader/feeds/rollover.pyo
+${PYSITELIB}/backtrader/feeds/rollover.pyc
+${PYSITELIB}/backtrader/feeds/sierrachart.pyo
+${PYSITELIB}/backtrader/feeds/sierrachart.pyc
+${PYSITELIB}/backtrader/feeds/vcdata.pyo
+${PYSITELIB}/backtrader/feeds/vcdata.pyc
+${PYSITELIB}/backtrader/feeds/vchart.pyo
+${PYSITELIB}/backtrader/feeds/vchart.pyc
+${PYSITELIB}/backtrader/feeds/vchartcsv.pyo
+${PYSITELIB}/backtrader/feeds/vchartcsv.pyc
+${PYSITELIB}/backtrader/feeds/vchartfile.pyo
+${PYSITELIB}/backtrader/feeds/vchartfile.pyc
+${PYSITELIB}/backtrader/feeds/yahoo.pyo
+${PYSITELIB}/backtrader/feeds/yahoo.pyc
+${PYSITELIB}/backtrader/feeds/blaze.py
+${PYSITELIB}/backtrader/feeds/btcsv.py
+${PYSITELIB}/backtrader/feeds/chainer.py
+${PYSITELIB}/backtrader/feeds/csvgeneric.py
+${PYSITELIB}/backtrader/feeds/ibdata.py
+${PYSITELIB}/backtrader/feeds/influxfeed.py
+${PYSITELIB}/backtrader/feeds/mt4csv.py
+${PYSITELIB}/backtrader/feeds/oanda.py
+${PYSITELIB}/backtrader/feeds/pandafeed.py
+${PYSITELIB}/backtrader/feeds/quandl.py
+${PYSITELIB}/backtrader/feeds/rollover.py
+${PYSITELIB}/backtrader/feeds/sierrachart.py
+${PYSITELIB}/backtrader/feeds/vcdata.py
+${PYSITELIB}/backtrader/feeds/vchart.py
+${PYSITELIB}/backtrader/feeds/vchartcsv.py
+${PYSITELIB}/backtrader/feeds/vchartfile.py
+${PYSITELIB}/backtrader/feeds/yahoo.py
+${PYSITELIB}/backtrader/fillers.py
+${PYSITELIB}/backtrader/filters/__init__.py
+${PYSITELIB}/backtrader/filters/__init__.pyo
+${PYSITELIB}/backtrader/filters/__init__.pyc
+${PYSITELIB}/backtrader/filters/bsplitter.pyo
+${PYSITELIB}/backtrader/filters/bsplitter.pyc
+${PYSITELIB}/backtrader/filters/calendardays.pyo
+${PYSITELIB}/backtrader/filters/calendardays.pyc
+${PYSITELIB}/backtrader/filters/datafiller.pyo
+${PYSITELIB}/backtrader/filters/datafiller.pyc
+${PYSITELIB}/backtrader/filters/datafilter.pyo
+${PYSITELIB}/backtrader/filters/datafilter.pyc
+${PYSITELIB}/backtrader/filters/daysteps.pyo
+${PYSITELIB}/backtrader/filters/daysteps.pyc
+${PYSITELIB}/backtrader/filters/heikinashi.pyo
+${PYSITELIB}/backtrader/filters/heikinashi.pyc
+${PYSITELIB}/backtrader/filters/renko.pyo
+${PYSITELIB}/backtrader/filters/renko.pyc
+${PYSITELIB}/backtrader/filters/session.pyo
+${PYSITELIB}/backtrader/filters/session.pyc
+${PYSITELIB}/backtrader/filters/bsplitter.py
+${PYSITELIB}/backtrader/filters/calendardays.py
+${PYSITELIB}/backtrader/filters/datafiller.py
+${PYSITELIB}/backtrader/filters/datafilter.py
+${PYSITELIB}/backtrader/filters/daysteps.py
+${PYSITELIB}/backtrader/filters/heikinashi.py
+${PYSITELIB}/backtrader/filters/renko.py
+${PYSITELIB}/backtrader/filters/session.py
+${PYSITELIB}/backtrader/flt.py
+${PYSITELIB}/backtrader/functions.py
+${PYSITELIB}/backtrader/indicator.py
+${PYSITELIB}/backtrader/indicators/__init__.py
+${PYSITELIB}/backtrader/indicators/__init__.pyo
+${PYSITELIB}/backtrader/indicators/__init__.pyc
+${PYSITELIB}/backtrader/indicators/accdecoscillator.pyo
+${PYSITELIB}/backtrader/indicators/accdecoscillator.pyc
+${PYSITELIB}/backtrader/indicators/aroon.pyo
+${PYSITELIB}/backtrader/indicators/aroon.pyc
+${PYSITELIB}/backtrader/indicators/atr.pyo
+${PYSITELIB}/backtrader/indicators/atr.pyc
+${PYSITELIB}/backtrader/indicators/awesomeoscillator.pyo
+${PYSITELIB}/backtrader/indicators/awesomeoscillator.pyc
+${PYSITELIB}/backtrader/indicators/basicops.pyo
+${PYSITELIB}/backtrader/indicators/basicops.pyc
+${PYSITELIB}/backtrader/indicators/bollinger.pyo
+${PYSITELIB}/backtrader/indicators/bollinger.pyc
+${PYSITELIB}/backtrader/indicators/cci.pyo
Home |
Main Index |
Thread Index |
Old Index