一、下载anaconda
wget https://repo.continuum.io/archive/Anaconda2-4.3.1-Linux-x86_64.sh
通过 bash 命令执行安装
二、查看conda版本
conda -V
vim ~/.bashrc
三、安装zipline
conda install -c Quantopian zipline
四、查看zipline命令
[root@syq_paydev_pj-znty_python_test_10.88.3.177 system-admin]#zipline
Usage: zipline [OPTIONS] COMMAND [ARGS]...Top level zipline entry point.Options:-e, --extension TEXT File or module path to a zipline extensionto load.--strict-extensions / --non-strict-extensionsIf --strict-extensions is passed thenzipline will not run if it cannot load allof the specified extensions. If this is notpassed or --non-strict-extensions is passedthen the failure will be logged butexecution will continue.--default-extension / --no-default-extensionDon't load the default zipline extension.pyfile in $ZIPLINE_HOME.--help Show this message and exit.Commands:bundles List all of the available data bundles.clean Clean up data downloaded with the ingest...ingest Ingest the data for the given bundle.run Run a backtest for the given algorithm.