vnpy

来源:互联网 发布:网络翻墙英文 编辑:程序博客网 时间:2024/06/18 10:41

mkdir ~/.pip/
vim ~/.pip/pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

wget https://repo.continuum.io/archive/Anaconda2-4.0.0-Linux-x86_64.sh
chmod +x Anaconda2-4.0.0-Linux-x86_64.sh
./Anaconda2-4.0.0-Linux-x86_64.sh

source ~/.bashrc
sudo apt-get install mongodb libboost-all-dev cmake git
pip install pymongo qdarkstyle msgpack-python zmq
head /etc/mongodb.conf
pip install future
sudo apt-get install libsnappy-dev
pip install python-snappy

git clone https://github.com/vnpy/vnpy.git
./install.sh

/examples/VnTrader
python run.py