trading_suggest
Provides AI-driven investment recommendations for stocks and cryptocurrencies based on data analysis, suggesting buy/sell/hold actions with confidence scores and reasoning.
Instructions
基于AI对其他工具提供的数据分析结果给出具体投资建议
Input Schema
TableJSON 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-525 (handler)The trading_suggest tool handler, registered via @mcp.tool decorator. Defines input schema with Pydantic Fields for symbol, action, score, and reason. Returns a structured dictionary containing the investment suggestion.@mcp.tool( title="给出投资建议", description="基于AI对其他工具提供的数据分析结果给出具体投资建议", ) 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, }