get_fund_returns
Query a fund's monthly, quarterly, or annual return series with benchmark comparisons. Yearly data adds peer rankings and quartiles; combine with initial NAV 1.0 for cumulative trends.
Instructions
查询基金收益序列(数据来自 sppwapi performanceRangeV2,明文可解)。
granularity: monthly=月度收益序列 | quarterly=季度 | yearly=年度 (含基准对照;年度还含同类排名与四分位)。 配合初始净值 1.0 可合成累计净值走势。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund_id | Yes | ||
| granularity | No | monthly |