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

获取股票申万三级行业分类数据需求 #1

Open
lyergenhu opened this issue Oct 9, 2019 · 0 comments
Open

获取股票申万三级行业分类数据需求 #1

lyergenhu opened this issue Oct 9, 2019 · 0 comments

Comments

@lyergenhu
Copy link

问题描述:
一、股票列表接口(stock_basic)中输出的股票基本信息中的industry字段,是申万一级行业。
二、申万行业分类(index_classify)仅仅展示了申万三级行业。
需求说明:
需要获取每个股票的申万三级行业明细,以便进行行业的量化分析。具体的输入、输出数据格式如下:
输入参数:

名称 类型 必选 描述
ts_code str N 股票代码
level str Y 行业级别,L0全部三级行业(含一级二级和三级),
L1申万一级行业, L2申万二级行业,L3申万三级行业

输出格式:

名称 类型 默认显示 描述
ts_code str Y 股票代码
index_code str Y 指数代码
industry_name str Y 行业名称
level str Y 行业级别

以上仅仅是简单的设想,输入和输出的参数和格式大佬们斟酌确定。
社区ID15838832127.

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

1 participant