Deploying the vn.py Development Framework on the WINDOWS7SP1X64 platform

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.