-
Notifications
You must be signed in to change notification settings - Fork 343
-
Notifications
You must be signed in to change notification settings - Fork 343
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
api.bar 函数返回的值为什么是False? 应该是DataFrame 才对。 #48
Comments
连接失败的时候就会是False。查看msg返回值应该有提示 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我使用的是下面这个代码:
api = DataApi(addr='tcp://data.tushare.org:8910')
api.login("1339006***", "******")
df,_1 = api.bar(
symbol= symbol,
trade_date=int(i_date),
freq=freq,
fields="open,high,low,close,volume,date,time,oi")
The text was updated successfully, but these errors were encountered: