quotec
Retrieve real-time stock market data for specific securities to analyze financial performance and track investment opportunities.
Instructions
获取某支股票的行情数据
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stock_code | No | SZ000002 |
Implementation Reference
- main.py:64-69 (handler)The quotec tool handler function, decorated with @mcp.tool() for registration. It calls pysnowball's quotec method to fetch stock quote data and processes the result with process_data for timestamp conversion.@mcp.tool() def quotec(stock_code: str="SZ000002") -> dict: """获取某支股票的行情数据""" result = ball.quotec(stock_code) return process_data(result)