What the hell is vnpy?

Vnpy is positioned as a quantitative trading platform, providing a complete solution from trading API docking to strategy automatic trading, and docking with many different types of financial markets at home and abroad: securities, futures, options, foreign exchange, digital currency, etc. Backtesting is available, but support is weak.

Vnpy has good support for windows and provides a python release version, which has the latest version of vnpy framework and vnpy quantitative management platform built in, no need for manual installation. The support for ubuntu is second, and the support for mac is the weakest.
After installation, register in the vnpy community forum to obtain the account password (the forum account password is)

Mac installation: bash install_osx.sh
mac Before starting to install vn.py, you need to manually install several special libraries. After opening Terminal, execute the following command:

brew install ta-lib // If you don’t install this, it will prompt talib/_ta_lib.c:601:10: fatal error: 'ta-lib/ta_defs.h' file not found
pip install TA-Lib

Talib, short for Technical Analysis Library, is a function library widely used in programmatic trading for technical analysis of financial market data. It provides a variety of technical analysis functions, which is convenient for us to quantify the programming work in investment. Because the ctp interface is not supported on the mac, the ctp interface must be commented out, otherwise an error will be reported when running.

However, there are many different options for trading APIs, and you don’t need to be limited to vnpy. The functions that these trading APIs can provide include:

In fact, there are many transaction APIs of this type, you might as well learn more about a few, maybe there will be unexpected surprises.

Guess you like

Origin blog.csdn.net/qq1841085904/article/details/128035128