vnpy/README-en.md
2017-04-08 23:40:14 +08:00

104 lines
3.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# vn.py - By Traders, For Traders.
---
### Brief Introduction
The vn.py project is an open-source quantitative trading framework that is developed by traders, for traders. The project is mainly written in Python and uses C++ for low-layer and performance sensitive infrastructure.
Using the vn.py project, institutional investors and professional traders, such as hedge funds, prop trading firms and investment banks, can easily develop complex trading strategies with the Event Engine Strategy Module, and automatically route their orders to the most desired destinations, including equity, commodity, forex and many other financial markets.
### Project Structure
1. A large number of Broker and Market Data APIs, all in Python (vn.api):
**International Financial Markets**
- Interactive Brokersvn.ib
- OANDAvn.oanda
- Shanghai Zhida Futuresvn.shzd
**Chinese Futures Market**
- CTPvn.ctp
- Femasvn.femas
- Kingstar Optionvn.ksotp
- XSpeedvn.xspeed
**Chinese Equity Market**
- LTSvn.lts
- QDPvn.qdp
**Chinese Precious Metal Market**
- SGITvn.sgit
- Kingstar Goldvn.ksgold
**Cryptocurrency Market**
- OKCOINvn.okcoin
- Huobivn.huobi
- Lhangvn.lhang
**Market Data**
- Datayesvn.datayes
2. Simple but powerful event engine module (vn.event), which can be used for developing complex quantitative trading strategies
3. RPC framework (vn.rpc) which also supports pushing data from server to client, aimed at implementing distributed trading systems.
4. Ready to use trading platform (vn.trader), which has intergrated all the trading APIs in vn.api, and provides easy to use strategy engines for developing different types of quantitative strategies and trading algorithms.
5. Tutorials about how to use vn.py to solve real world trading issues.
6. [Official Website](http://vnpy.org) and [Github Repository](http://www.github.com/vnpy/vnpy)
---
### Quick Start
1. Prepare a computer with Windows 7 (64-bit) installed.
2. Install [Anaconda](http://www.continuum.io/downloads), please make sure you download **Anaconda 4.0.0 Python 2.7 (32-bit)**.
3. Install [MongoDB](https://www.mongodb.org/downloads#production)
4. Install pymongo, just run "pip install pymongo" in cmd.
5. Register MongoDB as Windows Service and start it.
6. Install [Visual C++ Redistributable Packages for VS2013 (32-bit)](https://www.microsoft.com/en-gb/download/details.aspx?id=40784).
7. Click the "Download ZIP" button on this page to download the project source code, assume you unzip to C:\vnpy.
8. Install the IB TWS software and configure it to allow trading API connection.
9. Use sublime text or any other text editors you like, to change related details in C:\vnpy\vn.trader\gateway\ibGateway\IB_connect.json to your data.
10. Start IB TWS software and run C:\vnpy\vn.trader\vtMain.py, enjoy trading!
---
### Contact
If you have any questions about how to use the project or any suggestions about improving it, please feel free to email vn.py@foxmail.com.
---
### License
MIT