Merge branch 'master' into beta
This commit is contained in:
commit
1c613b2978
48
install.sh
48
install.sh
@ -10,25 +10,41 @@ function check_result() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#Build ctp/lts/ib api
|
#Build ctp/lts/ib api
|
||||||
pushd vnpy/api/ctp
|
echo "是否要安装'CTP'接口? (Do you need 'CTP' interface?)"
|
||||||
bash build.sh
|
read -p "Enter [y]n: " var1
|
||||||
check_result "build api.ctp"
|
var1=${var1:-y}
|
||||||
popd
|
if [ "$var1" = "y" ]; then
|
||||||
|
pushd vnpy/api/ctp
|
||||||
|
bash build.sh
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
pushd vnpy/api/lts
|
echo "是否要安装'LTS'接口? (Do you need 'LTS' interface?)"
|
||||||
bash build.sh
|
read -p "Enter [y]n: " var1
|
||||||
check_result "build api.lts"
|
var1=${var1:-y}
|
||||||
popd
|
if [ "$var1" = "y" ]; then
|
||||||
|
pushd vnpy/api/lts
|
||||||
|
bash build.sh
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
pushd vnpy/api/xtp
|
echo "是否要安装'XTP'接口? (Do you need 'XTP' interface?)"
|
||||||
bash build.sh
|
read -p "Enter [y]n: " var1
|
||||||
check_result "build api.xtp"
|
var1=${var1:-y}
|
||||||
popd
|
if [ "$var1" = "y" ]; then
|
||||||
|
pushd vnpy/api/xtp
|
||||||
|
bash build.sh
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
pushd vnpy/api/ib
|
echo "是否要安装'IB'接口? (Do you need 'IB' interface?)"
|
||||||
bash build.sh
|
read -p "Enter [y]n: " var1
|
||||||
check_result "build api.ib"
|
var1=${var1:-y}
|
||||||
popd
|
if [ "$var1" = "y" ]; then
|
||||||
|
pushd vnpy/api/ib
|
||||||
|
bash build.sh
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
#Install Python Modules
|
#Install Python Modules
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user