一、下载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 extension
                                  to load.
  --strict-extensions / --non-strict-extensions
                                  If --strict-extensions is passed then
                                  zipline will not run if it cannot load all
                                  of the specified extensions. If this is not
                                  passed or --non-strict-extensions is passed
                                  then the failure will be logged but
                                  execution will continue.
  --default-extension / --no-default-extension
                                  Don't load the default zipline extension.py
                                  file 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.


Logo

更多推荐