We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
看了一下universal.py中,应该只是深圳指数,399为主。 国证指数http://www.cnindex.com.cn/index.html 可以认为是深交所旗下的指数机构,也有部分代码为非399开头的,比如:980028(龙头家电)等。 这个源也可以一起讨论一下。
The text was updated successfully, but these errors were encountered:
哇,国证的网站比中证良心多了(玩笑==) 这个不止全部历史数据,历史成分股权重都能看到。我刚看了,爬取应该没任何难度,网页和数据都很规范。要是中证指数历史成分股权重能看到就好了,计算指数历史估值就不需要用聚宽数据源了。
Sorry, something went wrong.
速度,跪了! 扫了一眼代码。“ # TODO: 是否有这些列不全的国证指数?”从理论上来讲,会出现,其他指数也会出现。 指数从发布的角度可以分为:real time和close。 通常real time的值最高、最低字段才有意义。close类型的通常之后收盘点位、成交量等字段。
嗯,是的,应该是有那种每天只公布一个数的指数,不过我没大规模测,所以即使知道有这种指数,也不清楚其返回的数据具体格式什么样,除非找到个具体指数,才能完善这里的处理逻辑。
No branches or pull requests
看了一下universal.py中,应该只是深圳指数,399为主。
国证指数http://www.cnindex.com.cn/index.html 可以认为是深交所旗下的指数机构,也有部分代码为非399开头的,比如:980028(龙头家电)等。
这个源也可以一起讨论一下。
The text was updated successfully, but these errors were encountered: