1 Star 0 Fork 1K

kf1080 / vn.py

forked from vn.py官方 / vn.py 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install_osx.sh 644 Bytes
一键复制 编辑 原始数据 按行查看 历史
vn.py 提交于 2022-03-23 14:20 . [Mod] 更新3.0.0代码文件
#!/usr/bin/env bash
python=$1
shift 1
[[ -z $python ]] && python=python
$python -m pip install --upgrade pip wheel
# Get and build ta-lib
function install-ta-lib()
{
export HOMEBREW_NO_AUTO_UPDATE=true
brew install ta-lib
}
function ta-lib-exists()
{
ta-lib-config --libs > /dev/null
}
ta-lib-exists || install-ta-lib
# install ta-lib
$python -m pip install numpy==1.21.5
$python -m pip install ta-lib==0.4.24
# degrade setuptools to install deap 1.3.1 for python3.10
$python -m pip install setuptools==57.0.0
# Install Python Modules
$python -m pip install -r requirements.txt
# Install VeighNa
$python -m pip install . $@
Python
1
https://gitee.com/kf1080/vnpy.git
git@gitee.com:kf1080/vnpy.git
kf1080
vnpy
vn.py
master

搜索帮助