fund_derived
Retrieve derived financial metrics for investment funds by entering a fund code to access performance data through Xueqiu's stock market API.
Instructions
获取基金衍生数据
Args:
fund_code: 基金代码
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund_code | No | SZ000002 |
Implementation Reference
- main.py:486-494 (handler)The handler function for the 'fund_derived' tool, decorated with @mcp.tool() for registration. It calls ball.fund_derived(fund_code) and processes the result using process_data.@mcp.tool() def fund_derived(fund_code: str="SZ000002") -> dict: """获取基金衍生数据 Args: fund_code: 基金代码 """ result = ball.fund_derived(fund_code) return process_data(result)