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
AKShare 接口问题报告 问财热股数据无法下载 #1649
Comments
感谢反馈问题,请升级到 AKShare 1.0.99 版本,已修复 |
感谢您的快速回复。已升级到 1.0.99 版本,但是问题依然存在,无法拉出 9月8日(昨天)的数据。
另外,我发现在升级之前,9月8日使用命令 ak$stock_wc_hot_rank(date='20210907’) 拉出的是Python数据。现在直接拉出了R的数据格式,不需要在用 py_to_r 转换了,想问一下是不是针对所有函数都针对这一点进行了调整?
谢谢!
… 在 2021年9月9日,下午12:34,Albert King ***@***.***> 写道:
遇到任何问题,请先确认您的 AKShare 版本是最新的
pip install akshare --upgrade # Python 版本需要大于 3.7
描述遇到的问题
操作系统版本 Mac OS 10.13
Python 版本 3.8.5
AKShare 版本
接口的名称和代码 stock_wc_hot_rank(date="20210908")
接口报错的截图或代码
Error in py_call_impl(callable, dots$args, dots$keywords) :
IndexError: list index out of range
Detailed traceback:
File "/opt/anaconda3/envs/queen/lib/python3.8/site-packages/akshare/stock_feature/stock_wencai.py", line 87, in stock_wc_hot_rank
rank_date_str = temp_df.columns[2].split("[")[1].strip("]")
期望获得的正确结果
从2021年9月8日开始无法下载当日数据,但是历史数据可以正常下载。
感谢反馈问题,请升级到 AKShare 1.0.99 版本,已修复
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1649 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB6VJL5AMM6C774Y3PNNUQTUBA2NLANCNFSM5DVHFU2A>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
请忽略上一封邮件,经测试的确已经修复,十分感谢你们的及时帮助解决!
祝好!
… 下面是被转发的邮件:
发件人: LinQuanplex ***@***.***>
主题: 回复: [jindaxiang/akshare] AKShare 接口问题报告 问财热股数据无法下载 (#1649)
日期: 2021年9月9日 GMT+8 下午1:42:20
收件人: jindaxiang/akshare ***@***.***>
感谢您的快速回复。已升级到 1.0.99 版本,但是问题依然存在,无法拉出 9月8日(昨天)的数据。
另外,我发现在升级之前,9月8日使用命令 ak$stock_wc_hot_rank(date='20210907’) 拉出的是Python数据。现在直接拉出了R的数据格式,不需要在用 py_to_r 转换了,想问一下是不是针对所有函数都针对这一点进行了调整?
谢谢!
> 在 2021年9月9日,下午12:34,Albert King ***@***.*** ***@***.***>> 写道:
>
>
> 遇到任何问题,请先确认您的 AKShare 版本是最新的
>
> pip install akshare --upgrade # Python 版本需要大于 3.7
> 描述遇到的问题
>
> 操作系统版本 Mac OS 10.13
> Python 版本 3.8.5
> AKShare 版本
> 接口的名称和代码 stock_wc_hot_rank(date="20210908")
> 接口报错的截图或代码
> Error in py_call_impl(callable, dots$args, dots$keywords) :
> IndexError: list index out of range
>
> Detailed traceback:
> File "/opt/anaconda3/envs/queen/lib/python3.8/site-packages/akshare/stock_feature/stock_wencai.py", line 87, in stock_wc_hot_rank
> rank_date_str = temp_df.columns[2].split("[")[1].strip("]")
>
> 期望获得的正确结果
> 从2021年9月8日开始无法下载当日数据,但是历史数据可以正常下载。
> 感谢反馈问题,请升级到 AKShare 1.0.99 版本,已修复
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub <#1649 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB6VJL5AMM6C774Y3PNNUQTUBA2NLANCNFSM5DVHFU2A>.
> Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
|
好的,您说的 ak$stock_wc_hot_rank(date='20210907’) 可以返回 R 的数据还成立嘛? |
python 3.8.5 和 akshare 1.0.99 下 返回的依然是python数据。
之前测试应该是用了其他的python环境所导致。
… 在 2021年9月9日,下午3:10,Albert King ***@***.***> 写道:
py_to_r
好的,您说的 ak$stock_wc_hot_rank(date='20210907’) 可以返回 R 的数据还成立嘛?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1649 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB6VJL3EKSTFB3NRRDYPOVDUBBMXHANCNFSM5DVHFU2A>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
好的 |
遇到任何问题,请先确认您的 AKShare 版本是最新的
描述遇到的问题
Error in py_call_impl(callable, dots$args, dots$keywords) :
IndexError: list index out of range
Detailed traceback:
File "/opt/anaconda3/envs/queen/lib/python3.8/site-packages/akshare/stock_feature/stock_wencai.py", line 87, in stock_wc_hot_rank
rank_date_str = temp_df.columns[2].split("[")[1].strip("]")
从2021年9月8日开始无法下载当日数据,但是历史数据可以正常下载。
The text was updated successfully, but these errors were encountered: