Skip to content

Latest commit

 

History

History
executable file
·
48 lines (30 loc) · 1.34 KB

README.md

File metadata and controls

executable file
·
48 lines (30 loc) · 1.34 KB

Quantlib

Documentation Status Build Status

Quantlib is a library that serves quantitative trading. It offers data querying, data cleansing, calculation and backtesting.


About language

This project is specialized in China A Share stocks, and highly depends on Wind database. So the users are expected to be Chinese. Thus all the documents and comments will be Chinese.

Get started

Installation

git clone [email protected]:SnowWalkerJ/quantlib.git
python setup.py install

Configuration

vim ~/.quantlib/config.cfg

And change the settings items such as wind db accounts and other preferences.

Wind Data

from quant.data import wind
wind.get_wind_data("AShareEODPrices", "s_dq_pctchange") / 100 # get price change
wind.get_wind_table("AShareST")                               # get special treatment list

Backtest

Backtest Web Visualizer

参考相应文档

Documents

文档部署在Readthedocs上。