quote_detail
Retrieve detailed stock market data for specific securities to analyze performance and make informed investment decisions.
Instructions
获取某支股票的行情数据-详细
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stock_code | No | SZ000002 |
Implementation Reference
- main.py:71-75 (handler)The handler function for the 'quote_detail' tool. It is registered via the @mcp.tool() decorator. Fetches detailed stock quote data from pysnowball (ball.quote_detail) and processes it with process_data before returning.@mcp.tool() def quote_detail(stock_code: str="SZ000002") -> dict: """获取某支股票的行情数据-详细""" result = ball.quote_detail(stock_code) return process_data(result)