Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否用quantaxis做为数据源 #1

Open
zhangshoug opened this issue Sep 18, 2019 · 0 comments
Open

能否用quantaxis做为数据源 #1

zhangshoug opened this issue Sep 18, 2019 · 0 comments

Comments

@zhangshoug
Copy link

zhangshoug commented Sep 18, 2019

https://github.com/yutiansut/QUANTAXIS
封装了pytdx,服务器比tushare稳定.
import QUANTAXIS as QA
import pandas as pd
data=QA.QAFetch.QATdx.QA_fetch_get_stock_day('002049','2017-01-01','2019-09-18')
data=QA.QAFetch.QATdx.QA_fetch_get_stock_min('002049','2019-09-01','2019-09-18','1min')
data=QA.QAFetch.QATdx.QA_fetch_get_stock_realtime(['601069','002049'])

data=QA.QAFetch.QATdx.QA_fetch_get_index_day('000001','2017-01-01','2017-09-01')
data=QA.QAFetch.QATdx.QA_fetch_get_index_min('000001','2017-07-01','2017-08-01','1min')

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

No branches or pull requests

1 participant