Changed zipline -> catalyst import paths

* Updated cython build scripts
 * Updated setup.py to to install catalyst package
 * Updated momentum example to use catalyst package
 * catalyst executable now supports loading pipelines from multiple bundles
This commit is contained in:
Conner Fromknecht
2017-06-18 21:02:15 -07:00
parent be2fe35583
commit fce97176d6
244 changed files with 1101 additions and 1121 deletions
+9 -9
View File
@@ -1,11 +1,11 @@
#
# Dockerfile for an image with the currently checked out version of zipline installed. To build:
# Dockerfile for an image with the currently checked out version of catalyst installed. To build:
#
# docker build -t quantopian/zipline .
# docker build -t quantopian/catalyst .
#
# To run the container:
#
# docker run -v /path/to/your/notebooks:/projects -v ~/.zipline:/root/.zipline -p 8888:8888/tcp --name zipline -it quantopian/zipline
# docker run -v /path/to/your/notebooks:/projects -v ~/.catalyst:/root/.catalyst -p 8888:8888/tcp --name catalyst -it quantopian/catalyst
#
# To access Jupyter when running docker locally (you may need to add NAT rules):
#
@@ -19,7 +19,7 @@
#
# You can also run an algo using the docker exec command. For example:
#
# docker exec -it zipline zipline run -f /projects/my_algo.py --start 2015-1-1 --end 2016-1-1 /projects/result.pickle
# docker exec -it catalyst catalyst run -f /projects/my_algo.py --start 2015-1-1 --end 2016-1-1 /projects/result.pickle
#
FROM python:3.5
@@ -48,7 +48,7 @@ RUN mkdir ${PROJECT_DIR} \
&& curl -L https://downloads.sourceforge.net/project/ta-lib/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz | tar xvz
#
# build and install zipline from source. install TA-Lib after to ensure
# build and install catalyst from source. install TA-Lib after to ensure
# numpy is available.
#
@@ -72,17 +72,17 @@ RUN pip install 'numpy>=1.11.1,<2.0.0' \
ADD ./etc/docker_cmd.sh /
#
# make port available. /zipline is made a volume
# make port available. /catalyst is made a volume
# for developer testing.
#
EXPOSE ${NOTEBOOK_PORT}
#
# build and install the zipline package into the image
# build and install the catalyst package into the image
#
ADD . /zipline
WORKDIR /zipline
ADD . /catalyst
WORKDIR /catalyst
RUN pip install -e .
#