Skip to content
forked from zhibzeng/quantlib

Quantlib是一个个人维护、使用的量化模块,主要用于金融数据的获取、清洗、变换和分析等功能。

License

Notifications You must be signed in to change notification settings

wwwadx/quantlib

 
 

Repository files navigation

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.

中文README

Warnings

This project is at Alpha stage. It is expected to have bugs / errors (espicially for barra factors). Features are limited. There may be massive API changes in the future.

I am currently the only maintainer on this project. Support is limited.

Nonetheless, I hope you like it.

Get started

Installation

git clone git@github.com: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

The old backtest interface is like this: Backtest Web Visualizer

Please refer to the document.

With the help of Abigale2, you can get a more detailed and aesthetic interface.

Documents

Documents are served at Readthedocs.

About

Quantlib是一个个人维护、使用的量化模块,主要用于金融数据的获取、清洗、变换和分析等功能。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 94.7%
  • Python 5.3%