From 32a2a80f6fc2d2406ab9b842608b9de55b7251ef Mon Sep 17 00:00:00 2001 From: msincenselee Date: Wed, 18 Oct 2017 08:58:26 +0800 Subject: [PATCH] sync 1.7 --- install.bat | 10 ++++++++++ install.sh | 26 ++++++++++++++++++++++++++ requirements.txt | 4 +++- 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 install.bat create mode 100644 install.sh diff --git a/install.bat b/install.bat new file mode 100644 index 00000000..3a3adf09 --- /dev/null +++ b/install.bat @@ -0,0 +1,10 @@ +::Install Python Modules +pip install -r requirements.txt + +::Install Ta-Lib +conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ +conda config --set show_channel_urls yes +conda install -c quantopian ta-lib=0.4.9 + +:: Install vn.py +python setup.py install \ No newline at end of file diff --git a/install.sh b/install.sh new file mode 100644 index 00000000..f0eabf67 --- /dev/null +++ b/install.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +#Build ctp/lts/ib api +pushd vnpy/api/ctp +bash build.sh +popd + +pushd vnpy/api/lts +bash build.sh +popd + +pushd vnpy/api/ib +bash build.sh +popd + +#Install Python Modules +pip install -r requirements.txt + +#Install Ta-Lib +conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ +conda config --set show_channel_urls yes +conda install -c quantopian ta-lib=0.4.9 + +#Install vn.py +python setup.py install + diff --git a/requirements.txt b/requirements.txt index 69128afb..9d1560fb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,6 @@ pymongo websocket-client msgpack-python zmq -qdarkstyle \ No newline at end of file +PySide +qdarkstyle +SortedContainers \ No newline at end of file