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-206 (handler)The main handler function decorated with @mcp.tool() that implements the logic for fetching and returning key financial indicators for US stocks using akshare library and caching.@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])