fund_growth
Retrieve growth data for investment funds by providing the fund code to analyze performance metrics and trends.
Instructions
获取基金增长数据
Args:
fund_code: 基金代码
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fund_growth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund_code | No | SZ000002 |
Implementation Reference
- main.py:420-428 (handler)The main handler function for the 'fund_growth' tool. It is decorated with @mcp.tool() for registration, calls the pysnowball library's fund_growth method, processes the result with timestamps conversion, and returns the data.
@mcp.tool() def fund_growth(fund_code: str="SZ000002") -> dict: """获取基金增长数据 Args: fund_code: 基金代码 """ result = ball.fund_growth(fund_code) return process_data(result)