fund_achievement
Retrieve performance data for investment funds using Xueqiu MCP to analyze returns and track financial metrics.
Instructions
获取基金业绩表现数据
Args:
fund_code: 基金代码
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund_code | No | SZ000002 |
Implementation Reference
- main.py:442-450 (handler)The handler function for the 'fund_achievement' tool. It is decorated with @mcp.tool() for registration, takes a fund_code parameter, calls the pysnowball library's fund_achievement method, processes the data with timestamps conversion, and returns the result.@mcp.tool() def fund_achievement(fund_code: str="SZ000002") -> dict: """获取基金业绩表现数据 Args: fund_code: 基金代码 """ result = ball.fund_achievement(fund_code) return process_data(result)