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

ef.stock.get_all_company_performance('2013-12-01')获取公司年份表现数据,出现其他年年份数据问题 #109

Open
WangChen663 opened this issue Feb 10, 2023 · 3 comments

Comments

@WangChen663
Copy link

如题,感谢拨冗阅读,望不吝赐教🫡

df = ef.stock.get_all_company_performance('2013-12-31') with open("2013-12-31.csv", "w") as f: df.to_csv(f)

image

@WangChen663 WangChen663 changed the title ef.stock.get_all_company_performance('2013-12-01')获取2013年公司表现出现19年年份数据问题 ef.stock.get_all_company_performance('2013-12-01')获取公司年份表现数据,出现其他年年份数据问题 Feb 10, 2023
@Micro-sheep
Copy link
Owner

Micro-sheep commented Feb 15, 2023 via email

@WangChen663
Copy link
Author

WangChen663 commented Feb 20, 2023 via email

@rootphantomer
Copy link

rootphantomer commented Jul 5, 2023

如题,感谢拨冗阅读,望不吝赐教🫡

df = ef.stock.get_all_company_performance('2013-12-31') with open("2013-12-31.csv", "w") as f: df.to_csv(f)

image

@WangChen663

http://datacenter-web.eastmoney.com/api/data/get?st=NOTICE_DATE%2CSECURITY_CODE&sr=-1%2C-1&ps=500&p=1&type=RPT_LICO_FN_CPD&sty=ALL&token=894050c76af8597a853f5b408b759f5d&filter=%28SECURITY_TYPE_CODE+in+%28%22058001001%22%2C%22058001008%22%29%29%28REPORTDATE%3D%272013-12-31%27%29

本身结果正常,只不过NOTICE_DATE的时间和UPDATE_DATE的时间一样,算最后更新时间。

报告正确时间应该是返回结果中的REPORTDATE。
image

上传了pr ,详细见 #136

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

3 participants