Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

复权!! #39

Closed
yutiansut opened this issue Aug 28, 2017 · 4 comments
Closed

复权!! #39

yutiansut opened this issue Aug 28, 2017 · 4 comments

Comments

@yutiansut
Copy link
Collaborator

yutiansut commented Aug 28, 2017

实现和wind一样的收益率前/后复权算法:

具体代码见
https://github.com/yutiansut/QUANTAXIS/blob/0.4.1/QUANTAXIS/QAFetch/QATdx.py

封装好的接口:

import QUANTAXIS as QA
QA.QA_fetch_get_stock_day('tdx',code,start,end,if_fq)

#'tdx'是通达信引擎
#if_fq 是复权字段 00 是不复权 01是前复权02 是后复权
@rainx
Copy link
Owner

rainx commented Aug 29, 2017

收到...

@solenbanson
Copy link

好东西,看到里面也准备了get_stock_min接口,分钟线也可以用了么?

@yutiansut
Copy link
Collaborator Author

@Solensolen 你说我? 可以了啊 复权分钟线也支持了

@solenbanson
Copy link

solenbanson commented Sep 6, 2017

Thx,这样分钟线的复权回测就不用自己写了。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants