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

AKShare 接口问题报告 #4472

Closed
Smh-design opened this issue Jan 27, 2024 · 5 comments
Closed

AKShare 接口问题报告 #4472

Smh-design opened this issue Jan 27, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Smh-design
Copy link

遇到任何问题,请先确认您的 AKShare 版本是最新的

pip install akshare --upgrade  # Python 版本需要大于等于 3.8

描述遇到的问题
import akshare as ak

stock_individual_spot_xq_df = ak.stock_individual_spot_xq(symbol="SH600000")
print(stock_individual_spot_xq_df.dtypes)

line 3, in
stock_individual_spot_xq_df = ak.stock_individual_spot_xq(symbol="SH600000")
File "D:\pythonProject6\venv\lib\site-packages\akshare\stock\stock_xq.py", line 79, in stock_individual_spot_xq
json_data = r.json()["data"]["quote"]
KeyError: 'data'

@Smh-design Smh-design added the bug Something isn't working label Jan 27, 2024
@albertandking
Copy link
Collaborator

遇到任何问题,请先确认您的 AKShare 版本是最新的

pip install akshare --upgrade  # Python 版本需要大于等于 3.8

描述遇到的问题 import akshare as ak

stock_individual_spot_xq_df = ak.stock_individual_spot_xq(symbol="SH600000") print(stock_individual_spot_xq_df.dtypes)

line 3, in stock_individual_spot_xq_df = ak.stock_individual_spot_xq(symbol="SH600000") File "D:\pythonProject6\venv\lib\site-packages\akshare\stock\stock_xq.py", line 79, in stock_individual_spot_xq json_data = r.json()["data"]["quote"] KeyError: 'data'

已修复,升级到 AKShare 1.12.45 使用

@Smh-design
Copy link
Author

好像没有修复,我用1.12.45和1.12.52都是这个报错

@ahkimkoo
Copy link

雪球屏蔽抓取

@albertandking
Copy link
Collaborator

stock_individual_spot_xq

已修复,升级到 AKShare 1.12.73 使用

@albertandking
Copy link
Collaborator

雪球屏蔽抓取

已修复,升级到 AKShare 1.12.73 使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants