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

fix get_all_company_performance #136

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rootphantomer
Copy link

@rootphantomer rootphantomer commented Jul 5, 2023

修复 #109 的问题。

原因

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。

修复方法

返回的结果删除了NOTICE_DATE,新增了REPORTDATE,UPDATE_DATE,DATATYPE,DATAYEAR四个字段来更好的展示数据年份。
image

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

Successfully merging this pull request may close these issues.

1 participant