From b88da16eee7f5993519dc33fc296e5533f16809b Mon Sep 17 00:00:00 2001 From: 1122455801 Date: Mon, 8 Apr 2019 16:52:24 +0800 Subject: [PATCH] Update install.md --- docs/install.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/docs/install.md b/docs/install.md index 48a78528..358608d0 100644 --- a/docs/install.md +++ b/docs/install.md @@ -3,11 +3,78 @@ ## Windows + + ### 使用VNConda +#### 1.下载VNConda (Python 3.7 64位) + +下载地址如下:[VNConda-2.0.1-Windows-x86_64](https://conda.vnpy.com/VNConda-2.0.1-Windows-x86_64.exe) + +  + + +#### 2.安装VNConda + +注意事项:第4步会提示用户是否把VNConda注册成默认Python环境:若用户存在其他Python环境,则都不要勾选;反之,两个都勾选掉。 + +![enter image description here](https://vnpy-community.oss-cn-shanghai.aliyuncs.com/forum_experience/yazhang/install.bat/install_VNConda.png "enter image title here") + +  + +#### 3.登陆VNStation + +输入账号密码或者微信扫码登陆VNConda。(社区账号通过微信号码可得) + +![enter image description here](https://vnpy-community.oss-cn-shanghai.aliyuncs.com/forum_experience/yazhang/install.bat/login_VNConda.png "enter image title here") + +  + +#### 4.使用VNStation +登录后会进入到VNConda的主界面。 + +![enter image description here](https://vnpy-community.oss-cn-shanghai.aliyuncs.com/forum_experience/yazhang/install.bat/login_VNConda_2.png "enter image title here") + +窗口下方有5个选项: +- VN Trade Lite:直接运行VN Trader (只有CTP接口) +- VN Trader Pro:先选择保存相关临时文件的目录,再运行VN Trader (接口任选) +- Jupyter Notebook:先选择保存相关临时文件的目录,再运行Jupyter Notebook +- 提问求助:提出相关问题,管理员会每天定时回复 +- 后台更新:一键更新VN Station + +  +  ### 手动安装 +#### 1.下载并安装最新版Anaconda3.7 64位 + +下载地址如下:[Anaconda Distribution](https://www.anaconda.com/distribution/) + +(更轻量的MiniConda地址:[MiniConda Distribution](https://docs.conda.io/en/latest/miniconda.html)) + +  + +#### 2.下载并解压vnpy + +下载地址如下:[vnpy releases](https://github.com/vnpy/vnpy/releases) + +  + +#### 3.安装vnpy +双击install.bat一键安装vnpy: +- 先安装TA_LIB库和IB API +- 然后安装requirements.txt文件内相关依赖库 +- 最后复制vnpy到Anaconda内 + +  + +#### 4.启动VN Trader +在文件夹tests\trader中找到run.py文件。按住“Shift” + 鼠标右键进入cmd窗口,输入下面命令即可启动VN Trader。 +``` +Python run.py +``` + ## Ubuntu