1 Star 0 Fork 1.1K

tizhou/vn.py

forked from vn.py官方/vn.py 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.sh 954 Bytes
一键复制 编辑 原始数据 按行查看 历史
vn.py 提交于 2020-11-01 21:49 . [Mod] remove error suffix
#!/usr/bin/env bash
python=$1
prefix=$2
shift 2
[[ -z $python ]] && python=python
[[ -z $prefix ]] && prefix=/usr
$python -m pip install --upgrade pip setuptools wheel
# Get and build ta-lib
function install-ta-lib()
{
pushd /tmp
wget https://pip.vnpy.com/colletion/ta-lib-0.4.0-src.tar.gz
tar -xf ta-lib-0.4.0-src.tar.gz
cd ta-lib
./configure --prefix=$prefix
make -j
make install
popd
}
function ta-lib-exists()
{
ta-lib-config --libs > /dev/null
}
ta-lib-exists || install-ta-lib
# old versions of ta-lib imports numpy in setup.py
$python -m pip install numpy
# Install extra packages
$python -m pip install ta-lib
$python -m pip install psycopg2-binary
$python -m pip install https://pip.vnpy.com/colletion/ibapi-9.76.1.tar.gz
# Install Python Modules
$python -m pip install -r requirements.txt
# Install local Chinese language environment
locale-gen zh_CN.GB18030
# Install vn.py
$python -m pip install .
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wx_5d94f1effc/vnpy.git
git@gitee.com:wx_5d94f1effc/vnpy.git
wx_5d94f1effc
vnpy
vn.py
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385