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