Skip to content

Commit

Permalink
fix(fund_new_found_em): fix fund_new_found_em interface
Browse files Browse the repository at this point in the history
fix fund_new_found_em interface
  • Loading branch information
ak-quant committed Mar 23, 2022
1 parent 2465556 commit deef5e5
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
9 changes: 5 additions & 4 deletions akshare/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@
0.8.92: fix: fix stock_zh_a_daily interface
0.8.93: fix: fix bond_spot_deal interface
0.8.94: fix: fix stock_us_daily interface
0.8.95: add: add fund_em_new_found interface
0.8.95: add: add fund_new_found_em interface
0.8.96: fix: fix get_czce_rank_table interface
0.8.97: add: add stock_wc_hot_top interface
0.8.98: add: add index_kq interface
Expand Down Expand Up @@ -1716,7 +1716,7 @@
1.2.91 fix: fix fund_etf_hist_sina interface
1.2.92 fix: fix futures_zh_spot interface
1.2.93 fix: fix fund_manager interface
1.2.94 fix: fix fund_em_new_found interface
1.2.94 fix: fix fund_new_found_em interface
1.2.95 add: add stock_individual_info_em interface
1.2.96 fix: fix match_main_contract interface
1.2.97 fix: fix stock_profit_forecast interface
Expand Down Expand Up @@ -1908,9 +1908,10 @@
1.4.85 add: add fund_portfolio_bond_hold_em interface
1.4.86 fix: fix rename all interface in fund_aum_em.py
1.4.87 add: add fund_portfolio_industry_allocation_em interface
1.4.88 fix: fix fund_new_found_em interface
"""

__version__ = "1.4.87"
__version__ = "1.4.88"
__author__ = "AKFamily"

import sys
Expand Down Expand Up @@ -2505,7 +2506,7 @@
"""
新发基金
"""
from akshare.fund.fund_em_init import fund_em_new_found
from akshare.fund.fund_init_em import fund_new_found_em

"""
高管持股
Expand Down
6 changes: 3 additions & 3 deletions akshare/fund/fund_em_init.py → akshare/fund/fund_init_em.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from akshare.utils import demjson


def fund_em_new_found() -> pd.DataFrame:
def fund_new_found_em() -> pd.DataFrame:
"""
基金数据-新发基金-新成立基金
http://fund.eastmoney.com/data/xinfound.html
Expand Down Expand Up @@ -78,5 +78,5 @@ def fund_em_new_found() -> pd.DataFrame:


if __name__ == "__main__":
fund_em_new_found_df = fund_em_new_found()
print(fund_em_new_found_df)
fund_new_found_em_df = fund_new_found_em()
print(fund_new_found_em_df)
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@

| AKShare 版本 | 旧接口名称 | 新接口名称 | 修改日期 |
|------------|-------------------|-------------------|----------|
| 1.4.88 | fund_em_new_found | fund_new_found_em | 20220323 |
| 1.4.86 | fund_em_aum_hist | fund_aum_hist_em | 20220322 |
| 1.4.86 | fund_em_aum_trend | fund_aum_trend_em | 20220322 |
| 1.4.86 | fund_em_aum | fund_aum_em | 20220322 |

## 更新说明

1.4.88 fix: fix fund_new_found_em interface

1. 修复 fund_em_new_found 接口命名为 fund_new_found_em 接口

1.4.87 add: add fund_portfolio_industry_allocation_em interface

1. 新增 fund_portfolio_industry_allocation_em 接口,获取天天基金网-基金档案-投资组合-行业配置数据
Expand Down Expand Up @@ -204,6 +209,8 @@

## 版本更新说明

1.4.88 fix: fix fund_new_found_em interface

1.4.87 add: add fund_portfolio_industry_allocation_em interface

1.4.86 fix: fix rename all interface in fund_aum_em.py
Expand Down
6 changes: 3 additions & 3 deletions docs/data/fund/fund_public.md
Original file line number Diff line number Diff line change
Expand Up @@ -2192,7 +2192,7 @@ print(fund_manager_df)

### 新发基金

接口: fund_em_new_found
接口: fund_new_found_em

目标地址: http://fund.eastmoney.com/data/xinfound.html

Expand Down Expand Up @@ -2227,8 +2227,8 @@ print(fund_manager_df)
```python
import akshare as ak

fund_em_new_found_df = ak.fund_em_new_found()
print(fund_em_new_found_df)
fund_new_found_em_df = ak.fund_new_found_em()
print(fund_new_found_em_df)
```

数据示例
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@
# 高管持股
"stock_em_ggcg" # 高管持股
# 新发基金
"fund_em_new_found" # 新发基金
"fund_new_found_em" # 新发基金
# 柯桥指数
"index_kq_fz" # 柯桥纺织指数
"index_kq_fashion" # 柯桥时尚指数
Expand Down

0 comments on commit deef5e5

Please sign in to comment.