feat: 添加同花顺基金基本信息接口#7242
Merged
albertandking merged 2 commits intoakfamily:devfrom May 2, 2026
Merged
Conversation
- 新增 fund_info_ths 函数,使用 BeautifulSoup 解析同花顺基金网页 - 获取完整的基金信息,包括管理费率、托管费率等18条信息 - 更新文档,添加接口使用说明 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
使用 r.content 和 from_encoding='utf-8' 来正确解析同花顺网页的中文内容 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
albertandking
added a commit
that referenced
this pull request
May 2, 2026
* feat(index): 为 stock_zh_index_daily_tx 函数添加自定义时间范围参数 (#7241) - 添加 start_date 和 end_date 参数,允许用户获取指定时间范围内的历史数据。 - 更新了对应的文档,以反映新的参数和功能。 * feat: 添加同花顺基金基本信息接口 (#7242) * feat: 添加同花顺基金基本信息接口 - 新增 fund_info_ths 函数,使用 BeautifulSoup 解析同花顺基金网页 - 获取完整的基金信息,包括管理费率、托管费率等18条信息 - 更新文档,添加接口使用说明 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix: 修复中文编码显示问题 使用 r.content 和 from_encoding='utf-8' 来正确解析同花顺网页的中文内容 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Persist1 <persist1@126.com> Co-authored-by: Zhou Wei <lilaboc.cn@gmail.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
albertandking
added a commit
that referenced
this pull request
May 2, 2026
* feat(index): 为 stock_zh_index_daily_tx 函数添加自定义时间范围参数 (#7241) - 添加 start_date 和 end_date 参数,允许用户获取指定时间范围内的历史数据。 - 更新了对应的文档,以反映新的参数和功能。 * feat: 添加同花顺基金基本信息接口 (#7242) * feat: 添加同花顺基金基本信息接口 - 新增 fund_info_ths 函数,使用 BeautifulSoup 解析同花顺基金网页 - 获取完整的基金信息,包括管理费率、托管费率等18条信息 - 更新文档,添加接口使用说明 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix: 修复中文编码显示问题 使用 r.content 和 from_encoding='utf-8' 来正确解析同花顺网页的中文内容 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> * fix: fix stock_zh_index_daily_tx * fix: fix fund_info_ths * fix: fix stock_zh_index_daily_tx * fix: fix stock_zh_index_daily_tx * fix: fix game_hot_rank_taptap * docs: update date * feat: add version 1.18.60 --------- Co-authored-by: Persist1 <persist1@126.com> Co-authored-by: Zhou Wei <lilaboc.cn@gmail.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
功能说明
添加了同花顺基金基本信息接口
fund_info_ths,使用 BeautifulSoup 解析同花顺基金网页获取完整的基金信息。akshare/__init__.pyfund_info_ths导入语句docs/data/fund/fund_public.md使用示例