stock_indicators_us
Retrieve key financial indicators for US stocks to analyze company performance and make informed investment decisions.
Instructions
获取美股市场的股票财务报告关键指标
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | 股票代码 |
Implementation Reference
- mcp_aktools/__init__.py:197-207 (handler)Handler function decorated with @mcp.tool() that implements the 'stock_indicators_us' tool. It fetches US stock financial analysis indicators for the given symbol using akshare library via caching, formats the top 15 rows, and returns as string.@mcp.tool( title="美股关键指标", description="获取美股市场的股票财务报告关键指标", ) def stock_indicators_us( symbol: str = field_symbol, ): dfs = ak_cache(ak.stock_financial_us_analysis_indicator_em, symbol=symbol, indicator="单季报") keys = dfs.to_csv(index=False, float_format="%.3f").strip().split("\n") return "\n".join(keys[0:15])