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

修复 get_k_data 方法 #59

Merged
merged 6 commits into from
Sep 17, 2017
Merged

修复 get_k_data 方法 #59

merged 6 commits into from
Sep 17, 2017

Conversation

yutiansut
Copy link
Collaborator

@yutiansut yutiansut commented Sep 16, 2017

In [1]: from pytdx.hq import TdxHq_API

In [2]: api=TdxHq_API()

In [3]: with api.connect():
   ...:     print(api.get_k_data('600031', '2017-09-14', '2017-09-15'))
   ...:
            open  close  high   low       vol       amount        date    code
date
2017-09-14  7.81   7.75  7.86  7.71  397598.0  308731776.0  2017-09-14  600031
2017-09-15  7.76   7.69  7.77  7.66  314262.0  241509184.0  2017-09-15  600031

@yutiansut
Copy link
Collaborator Author

#58

@rainx rainx merged commit 950e4f1 into rainx:master Sep 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants