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

请修改代码:文件hq.py,函数 get_k_data #33

Closed
woyatt opened this issue Aug 20, 2017 · 4 comments
Closed

请修改代码:文件hq.py,函数 get_k_data #33

woyatt opened this issue Aug 20, 2017 · 4 comments

Comments

@woyatt
Copy link

woyatt commented Aug 20, 2017

    market_code = 1 if str(code)[0] == '6' else 0;
    start_date  = get_real_trade_date(start_date, 1)
    end_date    = get_real_trade_date(end_date, -1)

    data = []

    for i in range(10):
        data += self.get_security_bars(9, market_code, code, (9 - i) * 800, 800)
@rainx
Copy link
Owner

rainx commented Aug 21, 2017

@yutiansut

@yutiansut
Copy link
Collaborator

@woyatt 收到谢谢

@yutiansut
Copy link
Collaborator

#34

rainx added a commit that referenced this issue Aug 22, 2017
@rainx
Copy link
Owner

rainx commented Aug 22, 2017

已修复并merge pr

@rainx rainx closed this as completed Aug 22, 2017
yutiansut added a commit that referenced this issue Mar 22, 2019
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