Skip to content

Commit

Permalink
fix: fix index_detail_cni
Browse files Browse the repository at this point in the history
  • Loading branch information
albertandking committed May 27, 2024
1 parent dbbc32d commit d38701c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions akshare/index/index_cni.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def index_hist_cni(
return temp_df


def index_detail_cni(symbol: str = "399005", date: str = "202011") -> pd.DataFrame:
def index_detail_cni(symbol: str = "399001", date: str = "202404") -> pd.DataFrame:
"""
国证指数-样本详情-指定日期的样本成份
http://www.cnindex.com.cn/module/index-detail.html?act_menu=1&indexCode=399001
Expand Down Expand Up @@ -268,7 +268,7 @@ def index_detail_hist_adjust_cni(symbol: str = "399005") -> pd.DataFrame:
)
print(index_hist_cni_df)

index_detail_cni_df = index_detail_cni(symbol="399001", date="202011")
index_detail_cni_df = index_detail_cni(symbol="399001", date="202404")
print(index_detail_cni_df)

index_detail_hist_cni_df = index_detail_hist_cni(symbol="399101", date="202404")
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -700,9 +700,9 @@
# 赚钱效应分析
"stock_market_activity_legu" # 赚钱效应分析
# 中国公路物流运价指数
"index_cflp_price" # 中国公路物流运价指数
"index_price_cflp" # 中国公路物流运价指数
# 中国公路物流运量指数
"index_cflp_volume" # 中国公路物流运量指数
"index_volume_cflp" # 中国公路物流运量指数
# 汽车销量
"car_sale_rank_gasgoo" # 盖世汽车-汽车行业制造企业数据库-销量数据
"car_market_total_cpca" # 乘联会-统计数据-总体市场
Expand Down

0 comments on commit d38701c

Please sign in to comment.