get_inner_trade_data
Retrieve company insider trading data by providing a stock symbol for detailed analysis. Simplify access to key financial insights.
Instructions
Get company insider trading data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol/ticker (e.g. '000001') |
Implementation Reference
- src/akshare_one_mcp/server.py:227-233 (handler)The main handler function for the 'get_inner_trade_data' tool. It is decorated with @mcp.tool for registration, defines the input schema via Annotated types, fetches insider trading data from akshare_one, and returns it as JSON.@mcp.tool def get_inner_trade_data( symbol: Annotated[str, Field(description="Stock symbol/ticker (e.g. '000001')")], ) -> str: """Get company insider trading data.""" df = ako.get_inner_trade_data(symbol, source="xueqiu") return df.to_json(orient="records") or "[]"