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

get_futures_daily接口出现问题 #5383

Closed
yinlinzhan opened this issue Nov 29, 2024 · 1 comment
Closed

get_futures_daily接口出现问题 #5383

yinlinzhan opened this issue Nov 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@yinlinzhan
Copy link

python 3.9.20
akshare 1.15.36
接口 get_futures_daily
获取今日上期能源所的数据时返回空的dataframe
问题可能在于get_futures_daily接口调用get_ine_daily时,url = f"http://www.ine.cn/data/dailydata/kx/kx{day.strftime('%Y%m%d')}.dat"
r = requests.get(url, headers=cons.shfe_headers)这里返回的结果是<Response [404]>,不知道是不是上期能源所更换了url

@yinlinzhan yinlinzhan added the bug Something isn't working label Nov 29, 2024
@yinlinzhan
Copy link
Author

python 3.9.20 akshare 1.15.36 接口 get_futures_daily 获取今日上期能源所的数据时返回空的dataframe 问题可能在于get_futures_daily接口调用get_ine_daily时,url = f"http://www.ine.cn/data/dailydata/kx/kx{day.strftime('%Y%m%d')}.dat" r = requests.get(url, headers=cons.shfe_headers)这里返回的结果是<Response [404]>,不知道是不是上期能源所更换了url

好像是上期能源所的数据并到上期所里了

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

1 participant