技能 2026-09-14 04:55 UTC
claude-for-financial-services-cn
由提交人 fintech-python-java 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(akshare-mcp): get_financials always returned [] due to wrong THS indicator and stale annual filter (#4)。解决了已知运行时异常与边界错误,提升系统稳定性。
Commit提交信息原文
fix(akshare-mcp): get_financials always returned [] due to wrong THS indicator and stale annual filter (#4) - stock_financial_abstract_ths expects a period granularity indicator (按年度/按单季度), not a statement type (利润表 etc.); akshare silently falls back on unknown values - the 12-31 annual filter never matched THS annual rows (plain years like 2014), leaving an empty frame -> [] - rows are ordered oldest-first, so head() picked the oldest periods; use tail(5)/tail(8) to return the most recent ones - document that the THS abstract is one combined table and statement_type is kept only for backward compatibility Verified: get_financials(300750) now returns FY2021-2025 annual abstracts and 8 quarters through 2026Q2. Claude-Session: https://claude.ai/code/session_0187DduMMD4D45pb7sCd81JL Co-authored-by: 王和全 <wanghequan@staff.hexun.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>