First, install the windows7sp1x64
Second, the official website download installs windows6.1-kb4019990-x64
Third, the official website download installs the Microsoft. NET Framework 4.7
Iv. Download and install the website vc_redist2015.x64
V. Open Https://github.com/vnpy/vnpy/blob/dev/init.bat to install according to Init.bat content
1, "%systemroot%\system32\windowspowershell\v1.0\powershell.exe"-noprofile-inputformat none-executionpolicy Bypass-command "IEX (New-object System.Net.WebClient). Downloadstring (' Https://chocolatey.org/install.ps1 ')) "&& SET" path=%path%;%allusersprofile%\chocolatey\ Bin
2, Installation Anaconda
Choco Install anaconda2--version 4.0.0--x86-y--ignorechecksum--params= "'/addtopath=1 '"
Setx PATH "%PATH%; C:\Program files\anaconda2\; C:\Program files\anaconda2\scripts\ "
3, install VC Redist
Choco Install vcredist2013--x86-y
4. Install git
Choco Install Git-y
5. Download vn.py
Call Refreshenv
CD C + +
git clone "Https://github.com/vnpy/vnpy.git"
CD Vnpy
git checkout Dev
6. Download the latest x86 32-bit MongoDB MSI installation package to the MongoDB website, install
7, the registration of MongoDB for system services
mkdir c:\data\db
mkdir C:\data\log
"C:\Program files\mongodb\server\3.6\bin\mongod.exe"--logpath c:\data\log\mongodb.log--logappend--dbpath c:\data\ DB--directoryperdb--servicename MongoDB--install
net start MongoDB
8, installation vn.py
Open Https://github.com/vnpy/vnpy/blob/dev/install.bat follow Install.bat content for environment configuration
:: 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-y
:: Conda install-c conda-forge python-snappy-y
:: Install vn.py
Python setup.py Install
Six, modify the Examples\vntrader\ctp_connect.json Simnow CTP demo trading account and password, and then open Vntrade.bat to start the Vnpy graphical interface
Deploying the vn.py Development Framework on the WINDOWS7SP1X64 platform