Skip to content

Commit

Permalink
Updated version to 0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
gbeced committed Aug 21, 2018
1 parent 2e85c67 commit 3f7ad96
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- docker

before_install:
- docker pull gbecedillas/pyalgotrade:0.19-py27
- docker pull gbecedillas/pyalgotrade:0.20-py27
- cp travis/Dockerfile .
- docker build -t pyalgotrade_testcases .
- sudo pip install coveralls
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 0.19 (TBD)
Version 0.20 (20/Aug/2018)
. [NEW] Added support for Python 3.7.
. [NEW] Added setShares method for back-testing broker. Thanks winkidney for implementing this.
. [NEW] Added an option to support skipping errors while parsing CSV files.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and **live trading** is now possible using:

* [Bitstamp](https://www.bitstamp.net/) for Bitcoins

To get started with PyAlgoTrade take a look at the [tutorial](http://gbeced.github.io/pyalgotrade/docs/v0.18/html/tutorial.html) and the [full documentation](http://gbeced.github.io/pyalgotrade/docs/v0.18/html/index.html).
To get started with PyAlgoTrade take a look at the [tutorial](http://gbeced.github.io/pyalgotrade/docs/v0.20/html/tutorial.html) and the [full documentation](http://gbeced.github.io/pyalgotrade/docs/v0.20/html/index.html).

Main Features
-------------
Expand All @@ -32,7 +32,7 @@ Main Features
Installation
------------

PyAlgoTrade is developed using Python 2.7 and depends on:
PyAlgoTrade is developed and tested using Python 2.7/3.7 and depends on:

* [NumPy and SciPy](http://numpy.scipy.org/).
* [pytz](http://pytz.sourceforge.net/).
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
# built documents.
#
# The short X.Y version.
version = '0.19'
version = '0.20'
# The full version, including alpha/beta/rc tags.
release = '0.19'
release = '0.20'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ RUN cd /tmp; \
rm -rf ta-lib
RUN pip install TA-Lib

RUN pip install pyalgotrade==0.19
RUN pip install pyalgotrade==0.20
18 changes: 9 additions & 9 deletions docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#!/bin/bash

# Build and tag Python 2.7 images
docker build --build-arg PYTHON_VERSION=2.7 -t pyalgotrade:0.19 .
docker tag pyalgotrade:0.19 pyalgotrade:0.19-py27
docker tag pyalgotrade:0.19 gbecedillas/pyalgotrade:0.19
docker tag pyalgotrade:0.19-py27 gbecedillas/pyalgotrade:0.19-py27
docker build --build-arg PYTHON_VERSION=2.7 -t pyalgotrade:0.20 .
docker tag pyalgotrade:0.20 pyalgotrade:0.20-py27
docker tag pyalgotrade:0.20 gbecedillas/pyalgotrade:0.20
docker tag pyalgotrade:0.20-py27 gbecedillas/pyalgotrade:0.20-py27

# Build and tag Python 3.7 images
docker build --build-arg PYTHON_VERSION=3.7 -t pyalgotrade:0.19-py37 .
docker tag pyalgotrade:0.19-py37 gbecedillas/pyalgotrade:0.19-py37
docker build --build-arg PYTHON_VERSION=3.7 -t pyalgotrade:0.20-py37 .
docker tag pyalgotrade:0.20-py37 gbecedillas/pyalgotrade:0.20-py37

# Push images
docker login --username=gbecedillas
# docker push gbecedillas/pyalgotrade:0.19
docker push gbecedillas/pyalgotrade:0.19-py27
docker push gbecedillas/pyalgotrade:0.19-py37
# docker push gbecedillas/pyalgotrade:0.20
docker push gbecedillas/pyalgotrade:0.20-py27
docker push gbecedillas/pyalgotrade:0.20-py37

# docker rmi $(docker images --quiet --filter "dangling=true")
3 changes: 2 additions & 1 deletion pyalgotrade/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
.. moduleauthor:: Gabriel Martin Becedillas Ruiz <[email protected]>
"""

__version__ = "0.19"
name = "PyAlgoTrade"
__version__ = "0.20"
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,21 @@
except ImportError:
from distutils.core import setup


setup(
name='PyAlgoTrade',
version='0.19',
version='0.20',
description='Python Algorithmic Trading',
long_description='Python library for backtesting stock trading strategies.',
author='Gabriel Martin Becedillas Ruiz',
author_email='[email protected]',
url='http://gbeced.github.io/pyalgotrade/',
download_url='http://sourceforge.net/projects/pyalgotrade/files/0.19/PyAlgoTrade-0.19.tar.gz/download',
download_url='http://sourceforge.net/projects/pyalgotrade/files/0.20/PyAlgoTrade-0.20.tar.gz/download',
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
packages=[
'pyalgotrade',
'pyalgotrade.barfeed',
Expand Down
2 changes: 1 addition & 1 deletion travis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ARG PYALGOTRADE_TAG
# FROM gbecedillas/pyalgotrade:${PYALGOTRADE_TAG}
FROM gbecedillas/pyalgotrade:0.19-py27
FROM gbecedillas/pyalgotrade:0.20-py27

MAINTAINER Gabriel Martin Becedillas Ruiz <[email protected]>

Expand Down

0 comments on commit 3f7ad96

Please sign in to comment.