# 指数、行业和概念成分
get_index_stocks(index_symbol, date=None)
get_industry_stocks(industry_code, date=None)
get_concept_stocks(concept_code, date=None)
get_index_weight(index_symbol, date=None)
1
2
3
4
2
3
4
说明:
get_index_stocks用于获取指定指数在指定日期的成分股股票代码列表。get_industry_stocks用于获取指定行业指数代码在指定日期的成分股股票代码列表。get_concept_stocks用于获取指定概念下的成分股。get_index_weight用于获取指定指数在指定日期的成分股权重数据。
示例:
hs300 = get_index_stocks("000300.SH")
food = get_industry_stocks("食品饮料")
cloud = get_concept_stocks("云计算")
1
2
3
2
3