32 lines
515 B
Bash
Executable File
32 lines
515 B
Bash
Executable File
#!/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/xtp
|
|
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
|
|
conda install -c conda-forge python-snappy
|
|
|
|
#Install vn.py
|
|
python setup.py install
|
|
|