给出投资建议
trading_suggestGenerates AI-powered trading suggestions (buy, sell, or hold) with confidence scores and reasoning for stocks and cryptocurrencies.
Instructions
基于AI对其他工具提供的数据分析结果给出具体投资建议
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | 股票代码或加密币种 | |
| action | Yes | 推荐操作: buy/sell/hold | |
| score | Yes | 置信度,范围: 0-100 | |
| reason | Yes | 推荐理由 |
Implementation Reference
- mcp_aktools/__init__.py:509-512 (registration)The @mcp.tool decorator registers 'trading_suggest' as a tool with title '给出投资建议' and description.
@mcp.tool( title="给出投资建议", description="基于AI对其他工具提供的数据分析结果给出具体投资建议", ) - mcp_aktools/__init__.py:513-524 (handler)The handler function 'trading_suggest' accepts symbol, action, score, and reason parameters and returns them as a dictionary. This is a simple data-passing tool that relays AI-generated investment advice.
def trading_suggest( symbol: str = Field(description="股票代码或加密币种"), action: str = Field(description="推荐操作: buy/sell/hold"), score: int = Field(description="置信度,范围: 0-100"), reason: str = Field(description="推荐理由"), ): return { "symbol": symbol, "action": action, "score": score, "reason": reason, }